[wpt-sync] Sync PR 52318 - Implement Trusted types document write sinks
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
Sync web-platform-tests PR 52318 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/52318
Details from upstream follow.
Tim van der Lippe <tvanderlippe@gmail.com> wrote:
Implement Trusted types document write sinks
Implements the Document.write algorithm covering
trusted HTML. It is not fully spec-compliant as
it expects the full string to be concatenated when
passed through the policy. However, that requires
changing the parser to convert chunks to one full
string.Part of https://github.com/servo/servo/issues/36258
Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
Reviewed in servo/servo#36824
Assignee | ||
Updated•8 days ago
|
Assignee | ||
Comment 1•8 days ago
|
||
Assignee | ||
Comment 2•8 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 20 subtests
Status Summary
Firefox
OK
: 1
PASS
: 20
ERROR
: 1
Chrome
OK
: 1
PASS
: 18
FAIL
: 2
Safari
OK
: 1
PASS
: 20
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /trusted-types/block-string-assignment-to-Document-write.html [wpt.fyi]:
ERROR
[GitHub
],OK
[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-24h2-debug
,Gecko-windows11-32-24h2-opt
,Gecko-windows11-64-24h2-debug
,Gecko-windows11-64-24h2-opt
] (Chrome:OK
, Safari:OK
)
Updated•7 days ago
|
Assignee | ||
Comment 3•7 hours ago
|
||
Automatic update from web-platform-tests
Implement Trusted types document write sinks
Implements the Document.write algorithm covering
Trusted HTML.
Part of #36258
Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
--
wpt-commits: d3287f10104c970fb7216606a93ace0cf7c16867
wpt-pr: 52318
Description
•