-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
HTML: target=_blank implies noopener; opener support #15188
Conversation
@foolip I don't know why Chrome is failing here. |
From the logs: All results/html/semantics/links/links-created-by-a-and-area-elements/target_blank_implicit_noopener.html
/html/semantics/links/links-created-by-a-and-area-elements/target_blank_implicit_noopener_base.html
Unstable results
What is the runtime of the test, might it be close to timing out? |
It's opening a bunch of windows and reporting results via BroadcastChannel. Should be relatively quick, but might depend on other things? |
I was able to reproduce the failure with I didn't time it, but each iteration seemed to take ~10s, and here's the output: All results/html/semantics/links/links-created-by-a-and-area-elements/target_blank_implicit_noopener.html
Unstable results
Does the test run quickly on Firefox? |
It does. It shouldn't run any longer than the per-test timeout though. |
I guess that one could only start trying to reproduce and minify until the cause is clear. Not sure who a good contact working on Chromium would be. @tkent-google, do you know who's are this is? |
...emantics/links/links-created-by-a-and-area-elements/target_blank_implicit_noopener_base.html
Outdated
Show resolved
Hide resolved
If it's a Anyway, I have a comment on the test. |
...emantics/links/links-created-by-a-and-area-elements/target_blank_implicit_noopener_base.html
Outdated
Show resolved
Hide resolved
Should be all good now, from a test perspective. Dunno about Taskcluster though. |
I'll go ahead and admin merge this. If it's also flaky in Chromium (content_shell) it'll be easier to diagnose there. |
Uh, actually, whatwg/html#4330 is open. @annevk let me know when I should merge this. |
This can now be merged. I'll be merging the HTML PR shortly. A Chromium bug is already filed as per that PR. For squash and merge please only use the commit message from the initial commit. |
This reduces the number of coupled top-level browsing contexts and thereby reduces the attack surface somewhat. Tests: web-platform-tests/wpt#15188. Fixes #4078.
@annevk squash merged! |
Takk! |
This reduces the number of coupled top-level browsing contexts and thereby reduces the attack surface somewhat. Tests: web-platform-tests/wpt#15188. Fixes whatwg#4078.
This reduces the number of coupled top-level browsing contexts and thereby reduces the attack surface somewhat. Tests: web-platform-tests/wpt#15188. Fixes whatwg#4078.
The test case does:
Is that valid? (It doesn't seem to create an image map, and there's a |
|
It's indeed bogus, but shouldn't affect the test. I'll create a PR to clean that up a bit though. |
As pointed out in #15188 (comment) it was a bit confusing (and wrong).
As pointed out in #15188 (comment) it was a bit confusing (and wrong).
…ener tests, a=testonly Automatic update from web-platform-tests Editorial: cleanup some area opener/noopener tests (#17025) As pointed out in web-platform-tests/wpt#15188 (comment) it was a bit confusing (and wrong). -- wp5At-commits: 36f2a92acd0f8214dfcddfffd970f73c30efd5bf wpt-pr: 17025
…ener tests, a=testonly Automatic update from web-platform-tests Editorial: cleanup some area opener/noopener tests (#17025) As pointed out in web-platform-tests/wpt#15188 (comment) it was a bit confusing (and wrong). -- wp5At-commits: 36f2a92acd0f8214dfcddfffd970f73c30efd5bf wpt-pr: 17025
As pointed out in #15188 (comment) it was a bit confusing (and wrong).
…ener tests, a=testonly Automatic update from web-platform-tests Editorial: cleanup some area opener/noopener tests (#17025) As pointed out in web-platform-tests/wpt#15188 (comment) it was a bit confusing (and wrong). -- wp5At-commits: 36f2a92acd0f8214dfcddfffd970f73c30efd5bf wpt-pr: 17025 UltraBlame original commit: b17abf34f8216da67984b02fd15a79f412aa5a9e
…ener tests, a=testonly Automatic update from web-platform-tests Editorial: cleanup some area opener/noopener tests (#17025) As pointed out in web-platform-tests/wpt#15188 (comment) it was a bit confusing (and wrong). -- wp5At-commits: 36f2a92acd0f8214dfcddfffd970f73c30efd5bf wpt-pr: 17025 UltraBlame original commit: b17abf34f8216da67984b02fd15a79f412aa5a9e
…ener tests, a=testonly Automatic update from web-platform-tests Editorial: cleanup some area opener/noopener tests (#17025) As pointed out in web-platform-tests/wpt#15188 (comment) it was a bit confusing (and wrong). -- wp5At-commits: 36f2a92acd0f8214dfcddfffd970f73c30efd5bf wpt-pr: 17025 UltraBlame original commit: b17abf34f8216da67984b02fd15a79f412aa5a9e
For whatwg/html#4330.