[wpt-sync] Sync PR 32449 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=232387
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox98 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 32449 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/32449
Details from upstream follow.
Alexey Shvayka <shvaikalesh@gmail.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=232387
This upstream reviewed change (by Geoff on 2021-10-27) is a follow-up fix for #31599, which aligns tests assertions for cross-realm errors with the spec, Chrome (except for
XPathNSResolverdoesn't seem to emit"error"event, only logs errors to console), and now WebKit.The spec: ECMA's "throw a TypeError exception" uses "running execution context" (step 4) to create an object in, which is switched to the realm of value per https://webidl.spec.whatwg.org/#ref-for-prepare-to-run-script.
As for detached browsing context change, I haven't found a spec for it, yet browsers seem to be in agreement for this particular case. I'll submit a WebIDL PR a bit later.
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
| Assignee | ||
Comment 3•4 years ago
|
||
| Assignee | ||
Comment 4•4 years ago
|
||
| Assignee | ||
Comment 5•4 years ago
|
||
| Assignee | ||
Comment 6•4 years ago
|
||
| Assignee | ||
Comment 7•4 years ago
|
||
| Assignee | ||
Comment 8•4 years ago
|
||
| Assignee | ||
Comment 9•4 years ago
|
||
| Assignee | ||
Comment 10•4 years ago
|
||
| Assignee | ||
Comment 11•4 years ago
|
||
Comment 12•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/8e5c0e5f8701
https://hg.mozilla.org/mozilla-central/rev/befa5f0c4a3d
Description
•