-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define Window's opener when there's no browsing context #4379
Conversation
This makes me think "current browsing context" is probably not a good idea. |
…eally be tested due to other failures)
@bzbarsky if you could have a look that's be great. I aimed to match Firefox since Chrome/Safari are wrong when it comes to the global and there's bugs on that already. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but will let you sync the introductory sentences across this and other PRs before we merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems reasonable.
@bzbarsky it seems like this isn't what we do for |
@annevk |
Sometimes off two nested tasks, btw, if the entry global is the window being closed... The code comments for that start off with:
and go on to talk about how various code in at least the Firefox UI breaks if you change the behavior, interaction with timeouts that are set after the close() call, etc. See https://searchfox.org/mozilla-central/rev/00f3836a87b844b5e4bc82f698c559b9966e4be2/dom/base/nsGlobalWindowOuter.cpp#6229-6248 for gory details. |
Given that there's now #4405 to track |
…ontext, a=testonly Automatic update from web-platform-tests HTML: opener of a Window sans browsing context For whatwg/html#4379. -- wpt-commits: ad1ab06b7fcdbf7ef24cf0ed8aa13ac36d04272a wpt-pr: 15461
…ontext, a=testonly Automatic update from web-platform-tests HTML: opener of a Window sans browsing context For whatwg/html#4379. -- wpt-commits: ad1ab06b7fcdbf7ef24cf0ed8aa13ac36d04272a wpt-pr: 15461
…ontext, a=testonly Automatic update from web-platform-tests HTML: opener of a Window sans browsing context For whatwg/html#4379. -- wpt-commits: ad1ab06b7fcdbf7ef24cf0ed8aa13ac36d04272a wpt-pr: 15461
…ontext, a=testonly Automatic update from web-platform-tests HTML: opener of a Window sans browsing context For whatwg/html#4379. -- wpt-commits: ad1ab06b7fcdbf7ef24cf0ed8aa13ac36d04272a wpt-pr: 15461
…wsing context, a=testonly Automatic update from web-platform-tests HTML: opener and discarded auxiliary browsing context For whatwg/html#4379. -- wpt-commits: 3df07160e80e074edf0579627b7d5689f7bebf7b wpt-pr: 15518
…wsing context, a=testonly Automatic update from web-platform-tests HTML: opener and discarded auxiliary browsing context For whatwg/html#4379. -- wpt-commits: 3df07160e80e074edf0579627b7d5689f7bebf7b wpt-pr: 15518
…ontext, a=testonly Automatic update from web-platform-tests HTML: opener of a Window sans browsing context For whatwg/html#4379. -- wpt-commits: ad1ab06b7fcdbf7ef24cf0ed8aa13ac36d04272a wpt-pr: 15461 UltraBlame original commit: 2f41234f6509a10f9ff8438bde2ec7b28f98cb76
…ontext, a=testonly Automatic update from web-platform-tests HTML: opener of a Window sans browsing context For whatwg/html#4379. -- wpt-commits: ad1ab06b7fcdbf7ef24cf0ed8aa13ac36d04272a wpt-pr: 15461 UltraBlame original commit: 063b443f99cd6346bfaf3ac5f93f0c7019a27550
…wsing context, a=testonly Automatic update from web-platform-tests HTML: opener and discarded auxiliary browsing context For whatwg/html#4379. -- wpt-commits: 3df07160e80e074edf0579627b7d5689f7bebf7b wpt-pr: 15518 UltraBlame original commit: c1ae8fa14e174cd51576e4b63a69d88e1180c64a
…ontext, a=testonly Automatic update from web-platform-tests HTML: opener of a Window sans browsing context For whatwg/html#4379. -- wpt-commits: ad1ab06b7fcdbf7ef24cf0ed8aa13ac36d04272a wpt-pr: 15461 UltraBlame original commit: 2f41234f6509a10f9ff8438bde2ec7b28f98cb76
…ontext, a=testonly Automatic update from web-platform-tests HTML: opener of a Window sans browsing context For whatwg/html#4379. -- wpt-commits: ad1ab06b7fcdbf7ef24cf0ed8aa13ac36d04272a wpt-pr: 15461 UltraBlame original commit: 063b443f99cd6346bfaf3ac5f93f0c7019a27550
…wsing context, a=testonly Automatic update from web-platform-tests HTML: opener and discarded auxiliary browsing context For whatwg/html#4379. -- wpt-commits: 3df07160e80e074edf0579627b7d5689f7bebf7b wpt-pr: 15518 UltraBlame original commit: c1ae8fa14e174cd51576e4b63a69d88e1180c64a
…ontext, a=testonly Automatic update from web-platform-tests HTML: opener of a Window sans browsing context For whatwg/html#4379. -- wpt-commits: ad1ab06b7fcdbf7ef24cf0ed8aa13ac36d04272a wpt-pr: 15461 UltraBlame original commit: 2f41234f6509a10f9ff8438bde2ec7b28f98cb76
…ontext, a=testonly Automatic update from web-platform-tests HTML: opener of a Window sans browsing context For whatwg/html#4379. -- wpt-commits: ad1ab06b7fcdbf7ef24cf0ed8aa13ac36d04272a wpt-pr: 15461 UltraBlame original commit: 063b443f99cd6346bfaf3ac5f93f0c7019a27550
…wsing context, a=testonly Automatic update from web-platform-tests HTML: opener and discarded auxiliary browsing context For whatwg/html#4379. -- wpt-commits: 3df07160e80e074edf0579627b7d5689f7bebf7b wpt-pr: 15518 UltraBlame original commit: c1ae8fa14e174cd51576e4b63a69d88e1180c64a
Tests: web-platform-tests/wpt#15461.
/browsers.html ( diff )