Closed
Bug 1949396
Opened 1 month ago
Closed 21 days ago
[wpt-sync] Sync PR 50821 - Remove third parameters passed to `TrustedTypePolicyFactory.createPol…
Categories
(Core :: DOM: Security, task, P4)
Core
DOM: Security
Tracking
()
RESOLVED
FIXED
137 Branch
Tracking | Status | |
---|---|---|
firefox137 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 50821 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50821
Details from upstream follow.
Frédéric Wang <fwang@igalia.com> wrote:
Remove third parameters passed to `TrustedTypePolicyFactory.createPol…
…icy()`
Likely a legacy feature. Current specification only accepts two parameters: https://w3c.github.io/trusted-types/dist/spec/#dom-trustedtypepolicyfactory-createpolicy
Assignee | ||
Updated•1 month ago
|
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=ebe080961b60ff1a740be81d1ace38f79fd22b61
Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 9 tests and 10 subtests
Status Summary
Firefox
FAIL
: 7
ERROR
: 9
Chrome
OK
: 9
PASS
: 102
FAIL
: 2
Safari
FAIL
: 7
ERROR
: 9
Links
Details
New Tests That Don't Pass
- /trusted-types/Document-write-exception-order.xhtml [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)document.write(string)
throws TypeError:FAIL
(Chrome:PASS
, Safari:FAIL
)
- /trusted-types/TrustedTypePolicy-createXXX.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)- calling undefined callbacks throws:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Attributes without type constraints will work as before.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - trustedTypes.createPolicy(.., null) creates empty policy.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- calling undefined callbacks throws:
- /trusted-types/WorkerGlobalScope-importScripts.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /trusted-types/block-string-assignment-to-Document-write.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /trusted-types/block-string-assignment-to-Element-setAttribute.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /trusted-types/block-string-assignment-to-HTMLElement-generic.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)- script.src accepts only TrustedScriptURL:
FAIL
(Chrome:PASS
, Safari:FAIL
) - div.innerHTML accepts only TrustedHTML:
FAIL
(Chrome:PASS
, Safari:FAIL
) - iframe.srcdoc accepts only TrustedHTML:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- script.src accepts only TrustedScriptURL:
- /trusted-types/trusted-types-eval-reporting-no-unsafe-eval.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /trusted-types/trusted-types-eval-reporting-report-only.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
) - /trusted-types/worker-constructor.https.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/18c89345019c
[wpt PR 50821] - Remove third parameters passed to `TrustedTypePolicyFactory.createPol…, a=testonly
Comment 4•21 days ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 21 days ago
status-firefox137:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•