Closed
Bug 1950626
Opened 1 year ago
Closed 1 year ago
Element-setAttribute-respects-Elements-node-documents-globals-CSP-after-adoption-from-non-TT-realm.html fails
Categories
(Core :: DOM: Security, task)
Core
DOM: Security
Tracking
()
RESOLVED
FIXED
137 Branch
| Tracking | Status | |
|---|---|---|
| firefox137 | --- | fixed |
People
(Reporter: fwang, Assigned: fwang)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
It used to be fail because of bug 1944511 (for setAttributeNode).
Now it seems to be failing because it expects sourceFrame.contentWindow.TypeError whereas we are throwing a window.TypeError.
| Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Assignee: nobody → fwang
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•1 year ago
|
||
So after investigating, I think the test is broken: https://github.com/web-platform-tests/wpt/pull/44323#issuecomment-2687657504
Will fix it.
| Assignee | ||
Comment 3•1 year ago
|
||
See https://github.com/web-platform-tests/wpt/pull/44323#issuecomment-2687657504
Also add a more direct test for the TypeError realm.
Pushed by fwang@igalia.com:
https://hg.mozilla.org/integration/autoland/rev/cfc415b178e0
Fix mistakes in Element-setAttribute-respects-Elements-node-documents-globals-CSP-after-adoption-from-non-TT-realm.html. r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/51019 for changes under testing/web-platform/tests
Comment 6•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox137:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
Upstream PR merged by moz-wptsync-bot
Comment 8•1 year ago
|
||
Comment on attachment 9468885 [details]
Bug 1950626 Test documents loaded from local schemes inherit TT CSP rules. r=smaug
Revision D239878 was moved to bug 1952498. Setting attachment 9468885 [details] to obsolete.
Attachment #9468885 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•