[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: wpt-sync, 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•5 years ago
|
||
| Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 2•5 years ago
|
||
| Assignee | ||
Comment 3•5 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•5 years ago
|
Comment 5•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/11ed3010bc54
https://hg.mozilla.org/mozilla-central/rev/21ec110760d2
Description
•