Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cross-origin-opener-policy/resource-popup.https.html makes incorrect …
…assumption about win.location.href (#29769) The test expects that win.location.href starts returning something else than "about:blank" after closing. While this is true in Firefox and Blink, none of the browser engines actually agree on this (Firefox returns the empty string, Chrome returns undefined and Safari returns "about:blank"). Per the specification, it seems returning "about:blank" after a window is closed is the expected behavior, see whatwg/html#6899. I am fixing thus fixing the test so that it can run in all browsers by checking if "the window is closed" OR "href is no longer about:blank because it was navigated".
- Loading branch information