Closed Bug 1762624 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33471 - Add [Unscopable] to the popup attribute

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 33471 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/33471
Details from upstream follow.

Mason Freed <masonf@chromium.org> wrote:

Add [Unscopable] to the popup attribute

This avoids a potential Popup Web compat issue, by keeping the
new popup attribute from getting in the way when used in some
situations like this:

\<script>
function popup() {
...do something...
}
\</script>
\<button onclick="popup()">Click me\</button>

See [Unscopable] here:
https://webidl.spec.whatwg.org/#Unscopable

Bug: 1307772
Change-Id: Icf811d3a0b3891d247f19779d4c81197d8d17f06
Reviewed-on: https://chromium-review.googlesource.com/3564364
WPT-Export-Revision: 3b57bd384ea18306fcfe1b3f6aa5fdf0792c6f30

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS: 1

Chrome

OK : 1
PASS: 1

Safari

OK : 1
PASS: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0fcf3f8a439f
[wpt PR 33471] - Add [Unscopable] to the popup attribute, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.