Enable dom_svg_enabled on all tests (#36475)

This feature is part of --enable-experimental-web-platform-features, so
it should be enabled on all tests.

This causes some new failures, but mostly it's because the tests were
timing out instead of running the failing subtests.

This is part of #36315

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-04-11 11:46:00 -07:00 committed by GitHub
parent 2d2cfade36
commit fc2eb7bff2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 1959 additions and 99 deletions

View file

@ -7,6 +7,7 @@ prefs: [
"dom_offscreen_canvas_enabled:true",
"dom_resize_observer_enabled:true",
"dom_serviceworker_enabled:true",
"dom_svg_enabled:true",
"dom_testutils_enabled:true",
"dom_trusted_types_enabled:true",
"dom_urlpattern_enabled:true",

View file

@ -11,30 +11,12 @@
[Basic nonce tests for meh in SVG namespace]
expected: FAIL
[Ensure that removal of content attribute does not affect IDL attribute for meh in SVG namespace]
expected: FAIL
[Test empty nonces for meh in SVG namespace]
expected: FAIL
[Basic nonce tests for svg in SVG namespace]
expected: FAIL
[Ensure that removal of content attribute does not affect IDL attribute for svg in SVG namespace]
expected: FAIL
[Test empty nonces for svg in SVG namespace]
expected: FAIL
[Basic nonce tests for script in SVG namespace]
expected: FAIL
[Ensure that removal of content attribute does not affect IDL attribute for script in SVG namespace]
expected: FAIL
[Test empty nonces for script in SVG namespace]
expected: FAIL
[Basic nonce tests for style in HTML namespace]
expected: FAIL

View file

@ -1,19 +1,10 @@
[svgscript-nonces-hidden-meta.sub.html]
expected: TIMEOUT
[Reading 'nonce' content attribute and IDL attribute.]
expected: FAIL
[Cloned node retains nonce.]
expected: FAIL
[Cloned node retains nonce when inserted.]
expected: FAIL
[Writing 'nonce' content attribute.]
expected: FAIL
[Document-written script executes.]
expected: NOTRUN
[createElement.nonce.]
expected: FAIL
[Writing 'nonce' IDL attribute.]
expected: FAIL

View file

@ -9,9 +9,6 @@
[Cloned node retains nonce when inserted.]
expected: FAIL
[Writing 'nonce' content attribute.]
expected: FAIL
[Document-written script executes.]
expected: NOTRUN
@ -20,3 +17,6 @@
[createElement.setAttribute.]
expected: FAIL
[Writing 'nonce' IDL attribute.]
expected: FAIL

View file

@ -1,2 +0,0 @@
[stroke-box-mutation-001.html]
expected: TIMEOUT

View file

@ -1,2 +0,0 @@
[stroke-box-mutation-003.html]
expected: TIMEOUT

View file

@ -1,2 +1,2 @@
[value-changed.html]
expected: TIMEOUT
expected: FAIL

View file

@ -23,9 +23,6 @@
[CSSRule interface: sheet.cssRules[2\].cssRules[0\] must inherit property "parentRule" with the proper type]
expected: FAIL
[CSSStyleDeclaration interface: svg_element.style must inherit property "item(unsigned long)" with the proper type]
expected: FAIL
[CSSStyleDeclaration interface: calling getPropertyPriority(CSSOMString) on sheet.cssRules[2\].cssRules[0\].style with too few arguments must throw TypeError]
expected: FAIL
@ -47,27 +44,15 @@
[CSSMarginRule interface: sheet.cssRules[2\].cssRules[0\] must inherit property "style" with the proper type]
expected: FAIL
[CSSStyleDeclaration interface: svg_element.style must inherit property "getPropertyValue(CSSOMString)" with the proper type]
expected: FAIL
[SVGStyleElement interface: attribute sheet]
expected: FAIL
[CSSStyleDeclaration interface: sheet.cssRules[2\].cssRules[0\].style must inherit property "setProperty(CSSOMString, CSSOMString, optional CSSOMString)" with the proper type]
expected: FAIL
[SVGElement interface: attribute style]
expected: FAIL
[CSSStyleDeclaration interface: sheet.cssRules[2\].style must inherit property "setProperty(CSSOMString, CSSOMString, optional CSSOMString)" with the proper type]
expected: FAIL
[CSSStyleDeclaration interface: svg_element.style must inherit property "setProperty(CSSOMString, CSSOMString, optional CSSOMString)" with the proper type]
expected: FAIL
[CSSStyleDeclaration interface: svg_element.style must inherit property "getPropertyPriority(CSSOMString)" with the proper type]
expected: FAIL
[StyleSheet interface: attribute type]
expected: FAIL
@ -173,9 +158,6 @@
[CSSStyleDeclaration interface: sheet.cssRules[4\].style must inherit property "cssText" with the proper type]
expected: FAIL
[CSSStyleDeclaration interface: calling removeProperty(CSSOMString) on svg_element.style with too few arguments must throw TypeError]
expected: FAIL
[CSSStyleDeclaration interface: calling item(unsigned long) on sheet.cssRules[2\].cssRules[0\].style with too few arguments must throw TypeError]
expected: FAIL
@ -188,9 +170,6 @@
[CSSStyleDeclaration must be primary interface of sheet.cssRules[2\].style]
expected: FAIL
[CSSStyleDeclaration interface: calling getPropertyValue(CSSOMString) on svg_element.style with too few arguments must throw TypeError]
expected: FAIL
[CSSMarginRule must be primary interface of sheet.cssRules[2\].cssRules[0\]]
expected: FAIL
@ -206,9 +185,6 @@
[CSSImportRule interface: sheet.cssRules[0\] must inherit property "styleSheet" with the proper type]
expected: FAIL
[CSSStyleDeclaration interface: svg_element.style must inherit property "removeProperty(CSSOMString)" with the proper type]
expected: FAIL
[CSSPageRule interface: attribute selectorText]
expected: FAIL
@ -272,9 +248,6 @@
[Stringification of sheet.cssRules[4\]]
expected: FAIL
[SVGElement interface: svg_element must inherit property "style" with the proper type]
expected: FAIL
[CSSPageRule interface: attribute style]
expected: FAIL
@ -299,9 +272,6 @@
[CSSStyleRule interface: sheet.cssRules[4\] must inherit property "style" with the proper type]
expected: FAIL
[CSSStyleDeclaration interface: svg_element.style must inherit property "length" with the proper type]
expected: FAIL
[CSSStyleDeclaration interface: sheet.cssRules[2\].style must inherit property "item(unsigned long)" with the proper type]
expected: FAIL
@ -314,9 +284,6 @@
[CSSRule interface: sheet.cssRules[4\] must inherit property "FONT_FACE_RULE" with the proper type]
expected: FAIL
[CSSStyleDeclaration interface: calling item(unsigned long) on svg_element.style with too few arguments must throw TypeError]
expected: FAIL
[CSSStyleDeclaration interface: sheet.cssRules[4\].style must inherit property "cssFloat" with the proper type]
expected: FAIL
@ -347,9 +314,6 @@
[CSSStyleDeclaration interface: calling setProperty(CSSOMString, CSSOMString, optional CSSOMString) on sheet.cssRules[2\].cssRules[0\].style with too few arguments must throw TypeError]
expected: FAIL
[CSSStyleDeclaration interface: svg_element.style must inherit property "cssText" with the proper type]
expected: FAIL
[CSSRule interface: sheet.cssRules[2\].cssRules[0\] must inherit property "type" with the proper type]
expected: FAIL
@ -398,12 +362,6 @@
[CSSStyleDeclaration interface: attribute parentRule]
expected: FAIL
[CSSStyleDeclaration interface: calling getPropertyPriority(CSSOMString) on svg_element.style with too few arguments must throw TypeError]
expected: FAIL
[CSSStyleDeclaration interface: calling setProperty(CSSOMString, CSSOMString, optional CSSOMString) on svg_element.style with too few arguments must throw TypeError]
expected: FAIL
[CSSStyleRule interface: sheet.cssRules[4\] must inherit property "selectorText" with the proper type]
expected: FAIL
@ -638,9 +596,6 @@
[CSSStyleProperties must be primary interface of svg_element.style]
expected: FAIL
[CSSStyleProperties interface: svg_element.style must inherit property "cssFloat" with the proper type]
expected: FAIL
[CSSStyleProperties must be primary interface of getComputedStyle(svg_element)]
expected: FAIL

View file

@ -1,2 +1,2 @@
[tainting-fediffuselighting-dynamic.html]
expected: TIMEOUT
expected: FAIL

View file

@ -1,2 +1,2 @@
[tainting-feflood-dynamic.html]
expected: TIMEOUT
expected: FAIL

View file

@ -1,3 +0,0 @@
[parser-custom-element-in-foreign-content.html]
[HTML parser should not create custom elements in non-HTML namespaces]
expected: FAIL

View file

@ -5699,12 +5699,6 @@
[SVGElement interface: attribute dataset]
expected: FAIL
[SVGElement interface: attribute nonce]
expected: FAIL
[SVGElement interface: attribute autofocus]
expected: FAIL
[SVGElement interface: attribute tabIndex]
expected: FAIL

View file

@ -1,3 +1,9 @@
[svg-group-target.html]
[First rAF.]
expected: FAIL
[descendant rect translated down by 150 units (out of SVG viewport)]
expected: FAIL
[descendant rect translated down by 100 units]
expected: FAIL

View file

@ -1,3 +1,9 @@
[svg-transformed-rect-target.html]
[First rAF.]
expected: FAIL
[translated down by 150 units (out of SVG viewport)]
expected: FAIL
[translated down by 50 units]
expected: FAIL

View file

@ -1,2 +0,0 @@
[expose-legacy-touch-event-apis.html]
expected: ERROR

View file

@ -13503,7 +13503,7 @@
]
],
"interfaces.https.html": [
"cc6e99d8da7cd82edefd1c0b0fce984ae85462de",
"fbbffae39a346f592fabfe5ad3d943936a51c868",
[
null,
{}

View file

@ -1 +1,13 @@
prefs: ["dom_imagebitmap_enabled:true", "dom_offscreen_canvas_enabled:true", "dom_xpath_enabled:true", "dom_intersection_observer_enabled:true", "dom_resize_observer_enabled:true", "dom_notification_enabled:true", "dom_fontface_enabled:true", "dom_urlpattern_enabled:true", "dom_serviceworker_enabled:true", "dom_async_clipboard_enabled:true"]
prefs: [
"dom_async_clipboard_enabled:true",
"dom_fontface_enabled:true",
"dom_imagebitmap_enabled:true",
"dom_intersection_observer_enabled:true",
"dom_notification_enabled:true",
"dom_offscreen_canvas_enabled:true",
"dom_resize_observer_enabled:true",
"dom_serviceworker_enabled:true",
"dom_svg_enabled:true",
"dom_urlpattern_enabled:true",
"dom_xpath_enabled:true",
]

View file

@ -271,7 +271,10 @@ test_interfaces([
"StyleSheetList",
"SubmitEvent",
"SubtleCrypto",
"SVGElement",
"SVGGraphicsElement",
"SVGRect",
"SVGSVGElement",
"Text",
"TextTrack",
"TextTrackCue",