-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1541389 - Fix browser_httpCrossOriginOpenerPolicy.js to remove ti…
…meouts and not wait for SSTabRestored r=mattwoodrow (Matt Woodrow (:mattwoodrow) in bug 1541389 comment #7) > Nika did some work on top of DocumentChannel to make sure we delay notifying the old docshell that it had been cancelled until we'd setup the new one. This patch removes the code that waits for the `SSTabRestored` event when a process switch is expected. It also removes the `setTimeout` in the test, and uses `browser.frameLoader.remoteTab.osPid` instead of ContentTask.spawn to get the PID of the content process. Differential Revision: https://phabricator.services.mozilla.com/D54774 --HG-- extra : moz-landing-system : lando
- Loading branch information
Showing
1 changed file
with
11 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters