tor-browser

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

commit 57bcbbafe3c61e6825302ce83d228a258ba17450
parent 64716a286d3d29728e24c34780a049a5feea89cc
Author: Stalgia Grigg <stalgia@bocoup.com>
Date:   Sat, 20 Dec 2025 20:58:02 +0000

Bug 2007093 [wpt PR 56124] - Map "source" web-feature, a=testonly

Automatic update from web-platform-tests
Map "source" web-feature (#56124)

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

Classification approach: Searched for "<source>", "source element", and "the-source-element" terms. Found 67 matches across 33 unique files. Applied conservative filtering to map only tests where the source element is the primary focus, excluding tests that use source elements as context for testing other features (e.g., Resource Timing API, CSP policy enforcement, Custom Elements reactions).

WEB_FEATURES.yml files created/updated:
✅ html/semantics/embedded-content/media-elements/loading-the-media-resource/WEB_FEATURES.yml - Source element resource selection tests (8 files) - **CREATED**
✅ html/semantics/embedded-content/media-elements/location-of-the-media-resource/WEB_FEATURES.yml - Source element currentSrc tests (1 file) - **CREATED**
✅ html/semantics/embedded-content/the-img-element/srcset/WEB_FEATURES.yml - Source element dynamic media srcset tests (1 file) - **CREATED**

Tests excluded (13 files):
- html/semantics/embedded-content/the-img-element/source-relevant-mutations.html - Tests how `<img>` handles source mutations
- html/semantics/embedded-content/the-img-element/update-the-source-set.html - Tests how `<img>` handles source mutations
- html/semantics/embedded-content/the-img-element/relevant-mutations.html - Primary focus: img element mutations
- resource-timing/initiator-type/picture.html - Primary focus: Resource Timing API
- dom/nodes/moveBefore/relevant-mutations.html - Primary focus: DOM moveBefore API
- html/rendering/replaced-elements/attributes-for-embedded-content-and-images/picture-aspect-ratio.html - Primary focus: picture element aspect ratio
- content-security-policy/media-src/ (6 files) - Primary focus: CSP policy enforcement
- custom-elements/customized-built-in-constructor-exceptions.html - Primary focus: Custom Elements constructor exceptions
- custom-elements/reactions/customized-builtins/HTMLSourceElement.html - Primary focus: Custom Elements reactions (CEReactions)
- html-aam/roles.html - Primary focus: HTML-AAM roles
- html/semantics/grouping-content/the-ol-element/grouping-ol.html - Primary focus: ol element
- scroll-animations/css/get-animations-inactive-timeline.html - Primary focus: scroll animations
--

wpt-commits: 87daa20944949c0a56c199e199e6565d9ff88616
wpt-pr: 56124

Diffstat:
Atesting/web-platform/tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/WEB_FEATURES.yml | 6++++++
Atesting/web-platform/tests/html/semantics/embedded-content/media-elements/location-of-the-media-resource/WEB_FEATURES.yml | 4++++
Mtesting/web-platform/tests/html/semantics/embedded-content/the-img-element/srcset/WEB_FEATURES.yml | 3+++
3 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/testing/web-platform/tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/WEB_FEATURES.yml b/testing/web-platform/tests/html/semantics/embedded-content/media-elements/loading-the-media-resource/WEB_FEATURES.yml @@ -0,0 +1,6 @@ +features: +- name: source + files: + - resource-selection-*source*.html + - resource-selection-currentSrc.html + - resource-selection-candidate-remove-*.html diff --git a/testing/web-platform/tests/html/semantics/embedded-content/media-elements/location-of-the-media-resource/WEB_FEATURES.yml b/testing/web-platform/tests/html/semantics/embedded-content/media-elements/location-of-the-media-resource/WEB_FEATURES.yml @@ -0,0 +1,4 @@ +features: +- name: source + files: + - currentSrc.html diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-img-element/srcset/WEB_FEATURES.yml b/testing/web-platform/tests/html/semantics/embedded-content/the-img-element/srcset/WEB_FEATURES.yml @@ -1,3 +1,6 @@ features: - name: srcset files: "**" +- name: source + files: + - srcset-media-dynamic.html