tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit e7bb78e38058c4782ccd995f8e2443e1a122b9f2
parent 236f3766fd01f67cb2677652d8f557b45dd1230e
Author: Stalgia Grigg <stalgia.grigg@gmail.com>
Date:   Sat, 22 Nov 2025 21:11:57 +0000

Bug 2001402 [wpt PR 56144] - Map "settimeout" and "setinterval" web-features, a=testonly

Automatic update from web-platform-tests
Map "settimeout" and "setinterval" web-features (#56144)

* Map "settimeout" web-feature

Feature: `settimeout`

Reference: https://github.com/web-platform-dx/web-features/blob/main/features/settimeout.yml

Notable exclusions

1. CSP tests - Primary focus: Content Security Policy enforcement
   - `content-security-policy/unsafe-eval/eval-scripts-setTimeout-allowed.sub.html`
   - `content-security-policy/unsafe-eval/eval-scripts-setTimeout-blocked.sub.html`
   - `content-security-policy/script-src/worker-set-timeout.sub.html`
   - `content-security-policy/script-src/worker-data-set-timeout.sub.html`

2. IndexedDB tests - Primary focus: IndexedDB transaction lifecycle, using setTimeout for test timing
   - `IndexedDB/event-dispatch-active-flag.any.js`
   - `IndexedDB/transaction-deactivation-timing.any.js`
   - `IndexedDB/upgrade-transaction-deactivation-timing.any.js`
   - And 15 other IndexedDB tests

3. Script execution timing tests - Primary focus: `<script>` element execution order
   - `html/semantics/scripting-1/the-script-element/execution-timing/*.html`
   - `html/semantics/scripting-1/the-script-element/async_*.htm`

4. Dynamic import tests - Primary focus: Module loading and credentials
   - `html/semantics/scripting-1/the-script-element/module/dynamic-import/dynamic-imports-credentials-setTimeout.sub.html`
   - `html/semantics/scripting-1/the-script-element/module/dynamic-import/string-compilation-*.html`

5. window.onerror tests - Primary focus: Error handling, not setTimeout behavior
   - `html/webappapis/scripting/processing-model-2/compile-error-in-setTimeout.html`
   - `html/webappapis/scripting/processing-model-2/runtime-error-in-setTimeout.html`
   - `html/webappapis/scripting/processing-model-2/compile-error-cross-origin-setTimeout.html`
   - `html/webappapis/scripting/processing-model-2/runtime-error-cross-origin-setTimeout.html`

6. Worker lifecycle tests - Primary focus: Worker termination and message handling
   - `workers/Worker_terminate_event_queue.htm`
   - `workers/constructors/Worker/terminate.html`
   - `workers/interfaces/WorkerGlobalScope/close/incoming-message.html`
   - `workers/interfaces/WorkerGlobalScope/onerror/*.html`

* Map "setinterval" web-feature
--

wpt-commits: 9d61cec23f6a630e0afbde4ed667af3cdbeafee5
wpt-pr: 56144

Diffstat:
Atesting/web-platform/tests/html/webappapis/timers/WEB_FEATURES.yml | 14++++++++++++++
Mtesting/web-platform/tests/workers/WEB_FEATURES.yml | 6++++++
Atesting/web-platform/tests/workers/interfaces/WorkerGlobalScope/close/WEB_FEATURES.yml | 7+++++++
Atesting/web-platform/tests/workers/interfaces/WorkerUtils/WindowTimers/WEB_FEATURES.yml | 10++++++++++
4 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/testing/web-platform/tests/html/webappapis/timers/WEB_FEATURES.yml b/testing/web-platform/tests/html/webappapis/timers/WEB_FEATURES.yml @@ -0,0 +1,14 @@ +features: +- name: settimeout + files: + - 'evil-spec-example.any.js' + - 'negative-settimeout.any.js' + - 'settimeout-cross-realm-callback-report-exception.html' + - 'type-long-settimeout.any.js' +- name: setinterval + files: + - 'clearinterval-from-callback.any.js' + - 'missing-timeout-setinterval.any.js' + - 'negative-setinterval.any.js' + - 'setinterval-cross-realm-callback-report-exception.html' + - 'type-long-setinterval.any.js' diff --git a/testing/web-platform/tests/workers/WEB_FEATURES.yml b/testing/web-platform/tests/workers/WEB_FEATURES.yml @@ -2,6 +2,12 @@ features: - name: request-animation-frame-workers files: - WorkerGlobalScope_requestAnimationFrame.worker.js +- name: setinterval + files: + - 'WorkerGlobalScope_setInterval.htm' +- name: settimeout + files: + - 'WorkerGlobalScope_setTimeout.htm' - name: ua-client-hints files: - WorkerNavigator_userAgentData.http.html diff --git a/testing/web-platform/tests/workers/interfaces/WorkerGlobalScope/close/WEB_FEATURES.yml b/testing/web-platform/tests/workers/interfaces/WorkerGlobalScope/close/WEB_FEATURES.yml @@ -0,0 +1,7 @@ +features: +- name: setinterval + files: + - 'setInterval.html' +- name: settimeout + files: + - 'setTimeout.html' diff --git a/testing/web-platform/tests/workers/interfaces/WorkerUtils/WindowTimers/WEB_FEATURES.yml b/testing/web-platform/tests/workers/interfaces/WorkerUtils/WindowTimers/WEB_FEATURES.yml @@ -0,0 +1,10 @@ +features: +- name: setinterval + files: + - '003.html' + - '004.html' + - '005.html' +- name: settimeout + files: + - '001.html' + - '002.html'