[wpt-sync] Sync PR 39245 - Replace TrustedType spec URL
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox114 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39245 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39245
Details from upstream follow.
Arthur Sonzogni <arthursonzogni@chromium.org> wrote:
Replace TrustedType spec URL
[chrome-security-owp-fixit-week-9]
The TrustedType repository moved toward w3c. As a result, a lot of link
are either invalid or beind a redirect. This patch correct the links.This is an automated patch. It only update comments and documentation. Some
invalid links are now fixed.Script:
old="github.com\/wicg\/trusted-types" new="github.com\/w3c\/trusted-types" old="github.com\/WICG\/trusted-types" new="github.com\/w3c\/trusted-types" old="github.com\/w3c\/trusted-types\/#" new="w3c.github.io\/trusted-types\/dist\/spec\/#" old="WICG\/trusted-types" new="w3c\/trusted-types" old="w3c.github.io\/webappsec-trusted-types\/dist\/spec\/" new="w3c.github.io\/trusted-types\/dist\/spec\/" for file in chrome/ third_party/blink content/ services/ docs/ third_party/devtools-frontend do echo $file grep -r -l "${old}" "$file" | sort | uniq | xargs perl -e "s/${old}/${new}/" -pi doneFixed:1386115
Bug:1386115
Change-Id: If9650dec718b9153f6921ab080d2baf60332eae6Reviewed-on: https://chromium-review.googlesource.com/4376759
WPT-Export-Revision: 92bbb624a526a48b6a2cc763add6a90a8ae5ca24
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 5 tests and 45 subtests
Status Summary
Firefox
OK : 2
PASS : 2
FAIL : 24
ERROR: 3
Chrome
OK : 5
PASS : 92
Safari
OK : 2
PASS : 2
FAIL : 24
ERROR: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /trusted-types/Document-execCommand.tentative.html [wpt.fyi]:
OK[GitHub],SKIP[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview,Gecko-android-em-7.0-x86_64-qr-debug-geckoview,Gecko-android-em-7.0-x86_64-qr-opt-geckoview,Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK) - /trusted-types/TrustedTypePolicyFactory-getPropertyType.tentative.html [wpt.fyi]:
OK[GitHub],SKIP[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview,Gecko-android-em-7.0-x86_64-qr-debug-geckoview,Gecko-android-em-7.0-x86_64-qr-opt-geckoview,Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK)- sanity check trustedTypes.getPropertyType for the HTML script element.:
FAIL(Chrome:PASS, Safari:FAIL) - sanity check trustedTypes.getAttributeType.:
FAIL(Chrome:PASS, Safari:FAIL) - sanity check trustedTypes.getTypeMapping:
FAIL(Chrome:PASS, Safari:FAIL) - getPropertyType tests adapted from w3c/trusted-types polyfill:
FAIL(Chrome:PASS, Safari:FAIL) - getAttributeType tests adapted from w3c/trusted-types polyfill:
FAIL(Chrome:PASS, Safari:FAIL) - getTypeMapping tests adapted from w3c/trusted-types polyfill:
FAIL(Chrome:PASS, Safari:FAIL) - object[codeBase] is defined:
FAIL(Chrome:PASS, Safari:FAIL) - object.codeBase is maybe defined:
FAIL(Chrome:PASS, Safari:FAIL) - OBJECT[codeBase] is defined:
FAIL(Chrome:PASS, Safari:FAIL) - OBJECT.codeBase is maybe defined:
FAIL(Chrome:PASS, Safari:FAIL) - oBjEcT[codeBase] is defined:
FAIL(Chrome:PASS, Safari:FAIL) - oBjEcT.codeBase is maybe defined:
FAIL(Chrome:PASS, Safari:FAIL) - object[CODEBASE] is defined:
FAIL(Chrome:PASS, Safari:FAIL) - object.CODEBASE is maybe defined:
FAIL(Chrome:PASS, Safari:FAIL) - OBJECT[CODEBASE] is defined:
FAIL(Chrome:PASS, Safari:FAIL) - OBJECT.CODEBASE is maybe defined:
FAIL(Chrome:PASS, Safari:FAIL) - oBjEcT[CODEBASE] is defined:
FAIL(Chrome:PASS, Safari:FAIL) - oBjEcT.CODEBASE is maybe defined:
FAIL(Chrome:PASS, Safari:FAIL) - object[codebase] is defined:
FAIL(Chrome:PASS, Safari:FAIL) - object.codebase is maybe defined:
FAIL(Chrome:PASS, Safari:FAIL) - OBJECT[codebase] is defined:
FAIL(Chrome:PASS, Safari:FAIL) - OBJECT.codebase is maybe defined:
FAIL(Chrome:PASS, Safari:FAIL) - oBjEcT[codebase] is defined:
FAIL(Chrome:PASS, Safari:FAIL) - oBjEcT.codebase is maybe defined:
FAIL(Chrome:PASS, Safari:FAIL)
- sanity check trustedTypes.getPropertyType for the HTML script element.:
- /trusted-types/block-Document-execCommand.tentative.html [wpt.fyi]:
ERROR[GitHub],SKIP[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview,Gecko-android-em-7.0-x86_64-qr-debug-geckoview,Gecko-android-em-7.0-x86_64-qr-opt-geckoview,Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:ERROR) - /trusted-types/block-text-node-insertion-into-script-element.tentative.html [wpt.fyi]:
ERROR[GitHub],SKIP[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview,Gecko-android-em-7.0-x86_64-qr-debug-geckoview,Gecko-android-em-7.0-x86_64-qr-opt-geckoview,Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:ERROR) - /trusted-types/trusted-types-from-literal.tentative.html [wpt.fyi]:
ERROR[GitHub],SKIP[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview,Gecko-android-em-7.0-x86_64-qr-debug-geckoview,Gecko-android-em-7.0-x86_64-qr-opt-geckoview,Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:ERROR)
Tests Disabled in Gecko Infrastructure
- /trusted-types/Document-execCommand.tentative.html [wpt.fyi]:
OK[GitHub],SKIP[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview,Gecko-android-em-7.0-x86_64-qr-debug-geckoview,Gecko-android-em-7.0-x86_64-qr-opt-geckoview,Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK) - /trusted-types/TrustedTypePolicyFactory-getPropertyType.tentative.html [wpt.fyi]:
OK[GitHub],SKIP[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview,Gecko-android-em-7.0-x86_64-qr-debug-geckoview,Gecko-android-em-7.0-x86_64-qr-opt-geckoview,Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:OK) - /trusted-types/block-Document-execCommand.tentative.html [wpt.fyi]:
ERROR[GitHub],SKIP[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview,Gecko-android-em-7.0-x86_64-qr-debug-geckoview,Gecko-android-em-7.0-x86_64-qr-opt-geckoview,Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:ERROR) - /trusted-types/block-text-node-insertion-into-script-element.tentative.html [wpt.fyi]:
ERROR[GitHub],SKIP[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview,Gecko-android-em-7.0-x86_64-qr-debug-geckoview,Gecko-android-em-7.0-x86_64-qr-opt-geckoview,Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:ERROR) - /trusted-types/trusted-types-from-literal.tentative.html [wpt.fyi]:
ERROR[GitHub],SKIP[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview,Gecko-android-em-7.0-x86_64-qr-debug-geckoview,Gecko-android-em-7.0-x86_64-qr-opt-geckoview,Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:ERROR)
Comment 4•2 years ago
|
||
| bugherder | ||
Description
•