[wpt-sync] Sync PR 22141 - [Trusted Types] Add more tests for setTimeout/setInterval.
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream][domsecurity-backlog])
Sync web-platform-tests PR 22141 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/22141
Details from upstream follow.
Yifan Luo <lyf@google.com> wrote:
[Trusted Types] Add more tests for setTimeout/setInterval.
Currently, we only have tests test how normal script policies affect on
setTimeout and setInterval handlers. This CL add four new tests aimed to
test the behavior via default polices.Bug: 1059755
Change-Id: I820d08cebb0fe72e2787ce9f58c86a4a9a3068fd
Reviewed-on: https://chromium-review.googlesource.com/2094133
WPT-Export-Revision: 19b0ee7b8ac149bbeb95ea27ed6b1045fc2d79cf
Assignee | ||
Comment 1•4 years ago
|
||
PR 22141 applied with additional changes from upstream: a0e6371ffdbe6666278bc6c00160c34326c14790
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=ad5dbf62b647dbebc1dd61ee11483fc623d6e278
Assignee | ||
Comment 3•4 years ago
|
||
CI Results
Ran 7 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 47 tests
Status Summary
Firefox
PASS : 46
FAIL : 2
ERROR: 1
Chrome
OK : 1
PASS : 6
Safari
FAIL : 2
ERROR: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/trusted-types/DOMWindowTimers-setTimeout-setInterval.tentative.https.html: ERROR (Chrome: OK, Safari: ERROR)
window.setInterval assigned via policy (successful Script transformation).: FAIL (Chrome: PASS, Safari: FAIL)
window.setTimeout assigned via policy (successful Script transformation).: FAIL (Chrome: PASS, Safari: FAIL)
Updated•4 years ago
|
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/11ed3010bc54 [wpt PR 22141] - [Trusted Types] Add more tests for setTimeout/setInterval., a=testonly https://hg.mozilla.org/integration/autoland/rev/21ec110760d2 [wpt PR 22141] - Update wpt metadata, a=testonly
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/11ed3010bc54
https://hg.mozilla.org/mozilla-central/rev/21ec110760d2
Description
•