Skip to content

Commit

Permalink
Bug 1907849: part 7) Add Worker tests to <DOMWindowTimers-setTimeout-…
Browse files Browse the repository at this point in the history
…setInterval.html>. r=smaug

Fixes w3c/trusted-types#568.

Differential Revision: https://phabricator.services.mozilla.com/D232323

UltraBlame original commit: 64153e8a66668197c1a1a6398a1b7151eea286d3
  • Loading branch information
marco-c committed Jan 1, 2025
1 parent edecf79 commit 079ee9a
Show file tree
Hide file tree
Showing 6 changed files with 879 additions and 367 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ debug
OK
TIMEOUT
]
TIMEOUT
[
window
.
Expand Down Expand Up @@ -94,3 +95,75 @@ debug
PASS
TIMEOUT
]
[
DedicatedWorkerGlobalScope
.
setTimeout
assigned
via
default
policy
(
successful
Script
transformation
)
.
]
expected
:
TIMEOUT
[
DedicatedWorkerGlobalScope
.
setInterval
assigned
via
default
policy
(
successful
Script
transformation
)
.
]
expected
:
TIMEOUT
[
SharedWorkerGlobalScope
.
setTimeout
assigned
via
default
policy
(
successful
Script
transformation
)
.
]
expected
:
TIMEOUT
[
SharedWorkerGlobalScope
.
setInterval
assigned
via
default
policy
(
successful
Script
transformation
)
.
]
expected
:
TIMEOUT
4 changes: 3 additions & 1 deletion testing/web-platform/tests/lint.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -4020,13 +4020,15 @@ trusted
-
types
/
support
/
DOMWindowTimers
-
setTimeout
-
setInterval
.
html
js
SET
TIMEOUT
:
Expand Down
Loading

0 comments on commit 079ee9a

Please sign in to comment.