Enable all experimental web platform features on all testsuites (#36519)

This affects the following testsuites:
 - tests/wpt/tests/
 - tests/wpt/mozilla/tests/
 - tests/wpt/webgl/tests/
 - tests/wpt/webgpu/tests/

Testing: Several tests improve
This is part of #36315

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-04-14 11:33:38 -07:00 committed by GitHub
parent c7502a99f0
commit 428e8f7dd8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 170 additions and 4078 deletions

View file

@ -1,17 +1,25 @@
prefs: [
# Experimental web platform features
"dom_async_clipboard_enabled:true",
"dom_fontface_enabled:true",
"dom_imagebitmap_enabled:true",
"dom_intersection_observer_enabled:true",
"dom_mouse_event_which_enabled:true",
"dom_notification_enabled:true",
"dom_offscreen_canvas_enabled:true",
"dom_permissions_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",
"dom_webgl2_enabled:true",
"dom_webgpu_enabled:true",
"dom_xpath_enabled:true",
"layout_columns_enabled:true",
"layout_container_queries_enabled:true",
"layout_grid_enabled:true",
# Other features
"dom_testutils_enabled:true",
"dom_urlpattern_enabled:true",
]

View file

@ -1 +0,0 @@
prefs: ["layout_columns_enabled:true", "layout_flexbox_enabled:true"]

View file

@ -1 +0,0 @@
prefs: ["layout_columns_enabled:true", "layout_flexbox_enabled:true"]

View file

@ -1 +0,0 @@
prefs: ["layout_columns_enabled:true", "layout_flexbox_enabled:true"]

View file

@ -28,30 +28,3 @@
[Query "xr-spatial-tracking" permission]
expected: FAIL
[Query "geolocation" permission]
expected: FAIL
[Query "notifications" permission]
expected: FAIL
[Query "persistent-storage" permission]
expected: FAIL
[Query "push" permission]
expected: FAIL
[Query "background-sync" permission]
expected: FAIL
[Query "bluetooth" permission]
expected: FAIL
[Query "midi" permission]
expected: FAIL
[Query "camera" permission]
expected: FAIL
[Query "microphone" permission]
expected: FAIL

View file

@ -1,164 +1,14 @@
[idlharness.any.worker.html]
[Permissions interface: operation query(object)]
expected: FAIL
[Permissions interface: calling query(object) on navigator.permissions with too few arguments must throw TypeError]
expected: FAIL
[PermissionStatus interface: attribute name]
expected: FAIL
[PermissionStatus interface: permissionStatus must inherit property "name" with the proper type]
expected: FAIL
[Permissions interface: existence and properties of interface object]
expected: FAIL
[Permissions interface object length]
expected: FAIL
[Permissions interface object name]
expected: FAIL
[Permissions interface: existence and properties of interface prototype object]
expected: FAIL
[Permissions interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[Permissions interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[Permissions must be primary interface of navigator.permissions]
expected: FAIL
[Stringification of navigator.permissions]
expected: FAIL
[Permissions interface: navigator.permissions must inherit property "query(object)" with the proper type]
expected: FAIL
[PermissionStatus interface: existence and properties of interface object]
expected: FAIL
[PermissionStatus interface object length]
expected: FAIL
[PermissionStatus interface object name]
expected: FAIL
[PermissionStatus interface: existence and properties of interface prototype object]
expected: FAIL
[PermissionStatus interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[PermissionStatus interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[PermissionStatus interface: attribute state]
expected: FAIL
[PermissionStatus interface: attribute onchange]
expected: FAIL
[PermissionStatus must be primary interface of permissionStatus]
expected: FAIL
[Stringification of permissionStatus]
expected: FAIL
[PermissionStatus interface: permissionStatus must inherit property "state" with the proper type]
expected: FAIL
[PermissionStatus interface: permissionStatus must inherit property "onchange" with the proper type]
expected: FAIL
[WorkerNavigator interface: attribute permissions]
expected: FAIL
[WorkerNavigator interface: navigator must inherit property "permissions" with the proper type]
expected: FAIL
[idlharness.any.html]
[Permissions interface: operation query(object)]
expected: FAIL
[Permissions interface: calling query(object) on navigator.permissions with too few arguments must throw TypeError]
expected: FAIL
[PermissionStatus interface: attribute name]
expected: FAIL
[PermissionStatus interface: permissionStatus must inherit property "name" with the proper type]
expected: FAIL
[Permissions interface: existence and properties of interface object]
expected: FAIL
[Permissions interface object length]
expected: FAIL
[Permissions interface object name]
expected: FAIL
[Permissions interface: existence and properties of interface prototype object]
expected: FAIL
[Permissions interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[Permissions interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[Permissions must be primary interface of navigator.permissions]
expected: FAIL
[Stringification of navigator.permissions]
expected: FAIL
[Permissions interface: navigator.permissions must inherit property "query(object)" with the proper type]
expected: FAIL
[PermissionStatus interface: existence and properties of interface object]
expected: FAIL
[PermissionStatus interface object length]
expected: FAIL
[PermissionStatus interface object name]
expected: FAIL
[PermissionStatus interface: existence and properties of interface prototype object]
expected: FAIL
[PermissionStatus interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[PermissionStatus interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[PermissionStatus interface: attribute state]
expected: FAIL
[PermissionStatus interface: attribute onchange]
expected: FAIL
[PermissionStatus must be primary interface of permissionStatus]
expected: FAIL
[Stringification of permissionStatus]
expected: FAIL
[PermissionStatus interface: permissionStatus must inherit property "state" with the proper type]
expected: FAIL
[PermissionStatus interface: permissionStatus must inherit property "onchange" with the proper type]
expected: FAIL
[Navigator interface: attribute permissions]
expected: FAIL
[Navigator interface: navigator must inherit property "permissions" with the proper type]
expected: FAIL

View file

@ -1,12 +1,3 @@
[permissions-query-feature-policy-attribute.https.sub.html]
[Permissions.state is "prompt" with allow="geolocation" in same-origin iframes.]
expected: FAIL
[Permissions.state is "prompt" with allow="geolocation" in cross-origin iframes.]
expected: FAIL
[Permission.state is "prompt" in same-origin iframes.]
expected: FAIL
[Permission.state is "denied" in cross-origin iframes.]
expected: FAIL

View file

@ -2,8 +2,5 @@
[Property background-blend-mode does not support quirky length]
expected: FAIL
[Property column-span does not support quirky length]
expected: FAIL
[Property mask does not support quirky length]
expected: FAIL

View file

@ -1 +0,0 @@
prefs: ["dom_resize_observer_enabled:true"]

View file

@ -23,18 +23,12 @@
[MouseEvent interface: calling getModifierState(DOMString) on new MouseEvent("event") with too few arguments must throw TypeError]
expected: FAIL
[UIEvent interface: new MouseEvent("event") must inherit property "which" with the proper type]
expected: FAIL
[MouseEvent interface: new WheelEvent("event") must inherit property "getModifierState(DOMString)" with the proper type]
expected: FAIL
[MouseEvent interface: calling getModifierState(DOMString) on new WheelEvent("event") with too few arguments must throw TypeError]
expected: FAIL
[UIEvent interface: new WheelEvent("event") must inherit property "which" with the proper type]
expected: FAIL
[InputEvent interface: attribute inputType]
expected: FAIL

File diff suppressed because it is too large Load diff

View file

@ -1 +1 @@
prefs: [dom_webxr_test: true, dom_webgl2_enabled: true, dom_webxr_layers_enabled: true]
prefs: [dom_webxr_test: true, dom_webxr_layers_enabled: true]

View file

@ -13503,14 +13503,14 @@
]
],
"interfaces.https.html": [
"ff5d8e487822e1b9bf4dfd91ab814d2affaf457b",
"76d746b0663ed73865816e678c2536eceff31f2d",
[
null,
{}
]
],
"interfaces.worker.js": [
"d028090d6a8e6637f5251d2a578e905751f88bf7",
"8d109502622fac7266a4564de09684a3ab94118c",
[
"mozilla/interfaces.worker.html",
{}

View file

@ -1,13 +1,24 @@
prefs: [
# Experimental web platform features
"dom_async_clipboard_enabled:true",
"dom_fontface_enabled:true",
"dom_imagebitmap_enabled:true",
"dom_intersection_observer_enabled:true",
"dom_mouse_event_which_enabled:true",
"dom_notification_enabled:true",
"dom_offscreen_canvas_enabled:true",
"dom_permissions_enabled:true",
"dom_resize_observer_enabled:true",
"dom_serviceworker_enabled:true",
"dom_svg_enabled:true",
"dom_urlpattern_enabled:true",
"dom_trusted_types_enabled:true",
"dom_webgl2_enabled:true",
"dom_webgpu_enabled:true",
"dom_xpath_enabled:true",
"layout_columns_enabled:true",
"layout_container_queries_enabled:true",
"layout_grid_enabled:true",
# Other features
"dom_urlpattern_enabled:true",
]

View file

@ -1,9 +1,3 @@
[calc.html]
[calc for column-width]
expected: FAIL
[calc for column-count]
expected: FAIL
[calc for counter-increment]
expected: FAIL

View file

@ -1 +1 @@
prefs: [dom_webxr_test: false, dom_notification_enabled: true, dom_testutils_enabled: false]
prefs: [dom_webxr_test: false, dom_testutils_enabled: false]

View file

@ -1 +1 @@
prefs: [dom_notification_enabled: true, dom_testutils_enabled: false]
prefs: [dom_testutils_enabled: false]

View file

@ -106,6 +106,45 @@ test_interfaces([
"GamepadEvent",
"GamepadHapticActuator",
"GamepadPose",
"GPU",
"GPUAdapter",
"GPUAdapterInfo",
"GPUBindGroup",
"GPUBindGroupLayout",
"GPUBuffer",
"GPUBufferUsage",
"GPUCanvasContext",
"GPUColorWrite",
"GPUCommandBuffer",
"GPUCommandEncoder",
"GPUCompilationInfo",
"GPUCompilationMessage",
"GPUComputePassEncoder",
"GPUComputePipeline",
"GPUDevice",
"GPUDeviceLostInfo",
"GPUError",
"GPUInternalError",
"GPUMapMode",
"GPUOutOfMemoryError",
"GPUPipelineError",
"GPUPipelineLayout",
"GPUQuerySet",
"GPUQueue",
"GPURenderBundle",
"GPURenderBundleEncoder",
"GPURenderPassEncoder",
"GPURenderPipeline",
"GPUSampler",
"GPUShaderModule",
"GPUShaderStage",
"GPUSupportedFeatures",
"GPUSupportedLimits",
"GPUTexture",
"GPUTextureUsage",
"GPUTextureView",
"GPUUncapturedErrorEvent",
"GPUValidationError",
"HashChangeEvent",
"Headers",
"History",
@ -238,6 +277,8 @@ test_interfaces([
"PerformanceObserverEntryList",
"PerformancePaintTiming",
"PerformanceResourceTiming",
"PermissionStatus",
"Permissions",
"Plugin",
"PluginArray",
"PointerEvent",
@ -290,6 +331,11 @@ test_interfaces([
"TrackEvent",
"TransitionEvent",
"TreeWalker",
"TrustedHTML",
"TrustedScript",
"TrustedScriptURL",
"TrustedTypePolicy",
"TrustedTypePolicyFactory",
"UIEvent",
"URL",
"URLPattern",
@ -299,6 +345,7 @@ test_interfaces([
"VideoTrackList",
"VisibilityStateEntry",
"WebAssembly",
"WebGL2RenderingContext",
"WebGLRenderingContext",
"WebGLUniformLocation",
"WebGLBuffer",
@ -310,7 +357,12 @@ test_interfaces([
"WebGLShader",
"WebGLObject",
"WebGLActiveInfo",
"WebGLQuery",
"WebGLSampler",
"WebGLShaderPrecisionFormat",
"WebGLSync",
"WebGLTransformFeedback",
"WebGLVertexArrayObject",
"WebKitCSSMatrix",
"WebSocket",
"WheelEvent",
@ -319,6 +371,7 @@ test_interfaces([
"WritableStream",
"WritableStreamDefaultController",
"WritableStreamDefaultWriter",
"WGSLLanguageFeatures",
"XMLDocument",
"XMLHttpRequest",
"XMLHttpRequestEventTarget",

View file

@ -14,6 +14,7 @@ test_interfaces([
"CanvasPattern",
"CloseEvent",
"CountQueuingStrategy",
"CustomEvent",
"DOMMatrix",
"DOMMatrixReadOnly",
"DOMPoint",
@ -22,7 +23,6 @@ test_interfaces([
"DOMRect",
"DOMRectReadOnly",
"DOMStringList",
"CustomEvent",
"DedicatedWorkerGlobalScope",
"DOMException",
"ErrorEvent",
@ -35,6 +35,45 @@ test_interfaces([
"FileReaderSync",
"FinalizationRegistry",
"FormData",
"GPU",
"GPUAdapter",
"GPUAdapterInfo",
"GPUBindGroup",
"GPUBindGroupLayout",
"GPUBuffer",
"GPUBufferUsage",
"GPUCanvasContext",
"GPUColorWrite",
"GPUCommandBuffer",
"GPUCommandEncoder",
"GPUCompilationInfo",
"GPUCompilationMessage",
"GPUComputePassEncoder",
"GPUComputePipeline",
"GPUDevice",
"GPUDeviceLostInfo",
"GPUError",
"GPUInternalError",
"GPUMapMode",
"GPUOutOfMemoryError",
"GPUPipelineError",
"GPUPipelineLayout",
"GPUQuerySet",
"GPUQueue",
"GPURenderBundle",
"GPURenderBundleEncoder",
"GPURenderPassEncoder",
"GPURenderPipeline",
"GPUSampler",
"GPUShaderModule",
"GPUShaderStage",
"GPUSupportedFeatures",
"GPUSupportedLimits",
"GPUTexture",
"GPUTextureUsage",
"GPUTextureView",
"GPUUncapturedErrorEvent",
"GPUValidationError",
"Headers",
"History",
"ImageBitmap",
@ -54,6 +93,8 @@ test_interfaces([
"PerformanceObserverEntryList",
"PerformancePaintTiming",
"PerformanceResourceTiming",
"PermissionStatus",
"Permissions",
"ProgressEvent",
"PromiseRejectionEvent",
"ReadableStream",
@ -68,6 +109,11 @@ test_interfaces([
"ServiceWorkerContainer",
"TextDecoder",
"TextEncoder",
"TrustedHTML",
"TrustedScript",
"TrustedScriptURL",
"TrustedTypePolicy",
"TrustedTypePolicyFactory",
"URL",
"URLPattern",
"URLSearchParams",
@ -91,6 +137,7 @@ test_interfaces([
"WritableStream",
"WritableStreamDefaultController",
"WritableStreamDefaultWriter",
"WGSLLanguageFeatures",
"XMLHttpRequest",
"XMLHttpRequestEventTarget",
"XMLHttpRequestUpload",

View file

@ -1 +1,21 @@
prefs: ["dom_offscreen_canvas_enabled:true", "dom_imagebitmap_enabled:true", "dom_webgl2_enabled:true"]
prefs: [
# Experimental web platform features
"dom_async_clipboard_enabled:true",
"dom_fontface_enabled:true",
"dom_imagebitmap_enabled:true",
"dom_intersection_observer_enabled:true",
"dom_mouse_event_which_enabled:true",
"dom_notification_enabled:true",
"dom_offscreen_canvas_enabled:true",
"dom_permissions_enabled:true",
"dom_resize_observer_enabled:true",
"dom_serviceworker_enabled:true",
"dom_svg_enabled:true",
"dom_trusted_types_enabled:true",
"dom_webgl2_enabled:true",
"dom_webgpu_enabled:true",
"dom_xpath_enabled:true",
"layout_columns_enabled:true",
"layout_container_queries_enabled:true",
"layout_grid_enabled:true",
]

View file

@ -1 +0,0 @@
prefs: ["dom_offscreen_canvas_enabled:true"]

View file

@ -1 +1,21 @@
prefs: ["dom_webgpu_enabled:true"]
prefs: [
# Experimental web platform features
"dom_async_clipboard_enabled:true",
"dom_fontface_enabled:true",
"dom_imagebitmap_enabled:true",
"dom_intersection_observer_enabled:true",
"dom_mouse_event_which_enabled:true",
"dom_notification_enabled:true",
"dom_offscreen_canvas_enabled:true",
"dom_permissions_enabled:true",
"dom_resize_observer_enabled:true",
"dom_serviceworker_enabled:true",
"dom_svg_enabled:true",
"dom_trusted_types_enabled:true",
"dom_webgl2_enabled:true",
"dom_webgpu_enabled:true",
"dom_xpath_enabled:true",
"layout_columns_enabled:true",
"layout_container_queries_enabled:true",
"layout_grid_enabled:true",
]