Repository navigation
Specify parsing of 'noopener' feature in window.open - #4079
Conversation
| string <var>value</var>:</p> | ||
| <ol> | ||
| <li><p>If <var>value</var> is the empty string, return true.</p></li> | ||
| <li><p>If <var>value</var> is a case-sensitive match for <code data-x="">yes</code>, return true.</p></li> |
There was a problem hiding this comment.
Should be ASCII case-insensitive?
There was a problem hiding this comment.
case-sensitive is sufficient because the input is always lowercase, as per the output of:
https://html.spec.whatwg.org/#concept-window-open-features-tokenize
Specify parsing of 'noopener' feature in window.open so that noopener is only set to true if the value is either: - The empty string. - The string "yes". - The value is not 0 or an error when parsed as an integer. Fixes whatwg#2600.
c3fa4e6 to
17c2642
Compare
|
I integrated the comments. |
|
Updated tests: web-platform-tests/wpt#13458 |
Working on getting the HTML spec updated instead (whatwg/html#4079) Reverted changeset: "Passing noopener=NOOPENER to window.open() should cause the new window to not have an opener" https://bugs.webkit.org/show_bug.cgi?id=190251 https://trac.webkit.org/changeset/236802 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@237002 268f45cc-cd09-0410-ab3c-d52691b4dbfc
|
@cdumez, do you still work for Apple? If so, instead of signing up to participate as an individual, you'll want to join the https://github.com/apple-whatwg organization, and/or make your membership there public. |
|
@domenic Yes, I still work for Apple. I have just made my membership at apple-whatwg public. All good? |
Update test for 'noopener' feature of window.open to reflect the changes made in whatwg/html#4079.
|
Yep, all good! Will let @zcorpan do the honors. |
Update test for 'noopener' feature of window.open to reflect the changes made in whatwg/html#4079.
|
Thanks @cdumez! |
…ndow.open, a=testonly Automatic update from web-platform-testsUpdate test for 'noopener' feature of window.open Update test for 'noopener' feature of window.open to reflect the changes made in whatwg/html#4079. -- wpt-commits: 56e5e93ef1ce1097a1b8749423b52e1fa180f6aa wpt-pr: 13458
…ndow.open, a=testonly Automatic update from web-platform-testsUpdate test for 'noopener' feature of window.open Update test for 'noopener' feature of window.open to reflect the changes made in whatwg/html#4079. -- wpt-commits: 56e5e93ef1ce1097a1b8749423b52e1fa180f6aa wpt-pr: 13458
…estonly Automatic update from web-platform-tests HTML: noopener keyword is tokenized See whatwg/html#4079. -- wpt-commits: 6d9e199e99ce76bafb4d31a58641e5a2591c9587 wpt-pr: 15328
…estonly Automatic update from web-platform-tests HTML: noopener keyword is tokenized See whatwg/html#4079. -- wpt-commits: 6d9e199e99ce76bafb4d31a58641e5a2591c9587 wpt-pr: 15328
…estonly Automatic update from web-platform-tests HTML: noopener keyword is tokenized See whatwg/html#4079. -- wpt-commits: 6d9e199e99ce76bafb4d31a58641e5a2591c9587 wpt-pr: 15328
…estonly Automatic update from web-platform-tests HTML: noopener keyword is tokenized See whatwg/html#4079. -- wpt-commits: 6d9e199e99ce76bafb4d31a58641e5a2591c9587 wpt-pr: 15328
…ndow.open, a=testonly Automatic update from web-platform-testsUpdate test for 'noopener' feature of window.open Update test for 'noopener' feature of window.open to reflect the changes made in whatwg/html#4079. -- wpt-commits: 56e5e93ef1ce1097a1b8749423b52e1fa180f6aa wpt-pr: 13458 UltraBlame original commit: 6889ec30451700089a5ace06d3cd469a42e0b042
…ndow.open, a=testonly Automatic update from web-platform-testsUpdate test for 'noopener' feature of window.open Update test for 'noopener' feature of window.open to reflect the changes made in whatwg/html#4079. -- wpt-commits: 56e5e93ef1ce1097a1b8749423b52e1fa180f6aa wpt-pr: 13458 UltraBlame original commit: 6889ec30451700089a5ace06d3cd469a42e0b042
…ndow.open, a=testonly Automatic update from web-platform-testsUpdate test for 'noopener' feature of window.open Update test for 'noopener' feature of window.open to reflect the changes made in whatwg/html#4079. -- wpt-commits: 56e5e93ef1ce1097a1b8749423b52e1fa180f6aa wpt-pr: 13458 UltraBlame original commit: 6889ec30451700089a5ace06d3cd469a42e0b042
…estonly Automatic update from web-platform-tests HTML: noopener keyword is tokenized See whatwg/html#4079. -- wpt-commits: 6d9e199e99ce76bafb4d31a58641e5a2591c9587 wpt-pr: 15328 UltraBlame original commit: 3624a9aa806e8ea05d0401acedba7ac98b240a97
…estonly Automatic update from web-platform-tests HTML: noopener keyword is tokenized See whatwg/html#4079. -- wpt-commits: 6d9e199e99ce76bafb4d31a58641e5a2591c9587 wpt-pr: 15328 UltraBlame original commit: 3624a9aa806e8ea05d0401acedba7ac98b240a97
…estonly Automatic update from web-platform-tests HTML: noopener keyword is tokenized See whatwg/html#4079. -- wpt-commits: 6d9e199e99ce76bafb4d31a58641e5a2591c9587 wpt-pr: 15328 UltraBlame original commit: 957e02354f5eb4a8873a8ebb6fe3d2023ec1f025
…estonly Automatic update from web-platform-tests HTML: noopener keyword is tokenized See whatwg/html#4079. -- wpt-commits: 6d9e199e99ce76bafb4d31a58641e5a2591c9587 wpt-pr: 15328 UltraBlame original commit: 3624a9aa806e8ea05d0401acedba7ac98b240a97
…estonly Automatic update from web-platform-tests HTML: noopener keyword is tokenized See whatwg/html#4079. -- wpt-commits: 6d9e199e99ce76bafb4d31a58641e5a2591c9587 wpt-pr: 15328 UltraBlame original commit: 957e02354f5eb4a8873a8ebb6fe3d2023ec1f025
…estonly Automatic update from web-platform-tests HTML: noopener keyword is tokenized See whatwg/html#4079. -- wpt-commits: 6d9e199e99ce76bafb4d31a58641e5a2591c9587 wpt-pr: 15328 UltraBlame original commit: 957e02354f5eb4a8873a8ebb6fe3d2023ec1f025
Working on getting the HTML spec updated instead (whatwg/html#4079) Reverted changeset: "Passing noopener=NOOPENER to window.open() should cause the new window to not have an opener" https://bugs.webkit.org/show_bug.cgi?id=190251 https://trac.webkit.org/changeset/236802 Canonical link: https://commits.webkit.org/205383@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237002 268f45cc-cd09-0410-ab3c-d52691b4dbfc
…ndow.open, a=testonly Automatic update from web-platform-testsUpdate test for 'noopener' feature of window.open Update test for 'noopener' feature of window.open to reflect the changes made in whatwg/html#4079. -- wpt-commits: 56e5e93ef1ce1097a1b8749423b52e1fa180f6aa wpt-pr: 13458
…estonly Automatic update from web-platform-tests HTML: noopener keyword is tokenized See whatwg/html#4079. -- wpt-commits: 6d9e199e99ce76bafb4d31a58641e5a2591c9587 wpt-pr: 15328
Specify parsing of 'noopener' feature in window.open so that noopener is only set to true
if the value is either:
Fixes #2600.
/window-object.html ( diff )