Skip to content

Commit

Permalink
Migrate to new baseline format - wpt_internal
Browse files Browse the repository at this point in the history
The new baselines format for test harness tests is machine parsable.
Do this incrementally to make it easier to handle and review.

With this change, we will be able to regenerate WPT metadata from baselines.

Bug: 1481730
Change-Id: Ibc4d1c5db55f02966f1971b218141d4cfa43e3b6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4939160
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Commit-Queue: Weizhong Xia <weizhong@google.com>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1210226}
  • Loading branch information
WeizhongX authored and Chromium LUCI CQ committed Oct 16, 2023
1 parent 84ef3d0 commit fa1b3f5
Show file tree
Hide file tree
Showing 69 changed files with 362 additions and 254 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
This is a testharness.js-based test.
FAIL direct sockets (TCP) do not get blocked on permissions policy direct-sockets=(self) promise_test: Unhandled rejection with value: object "ReferenceError: TCPSocket is not defined"
FAIL direct sockets (UDP) do not get blocked on permissions policy direct-sockets=(self) promise_test: Unhandled rejection with value: object "ReferenceError: UDPSocket is not defined"
[FAIL] direct sockets (TCP) do not get blocked on permissions policy direct-sockets=(self)
promise_test: Unhandled rejection with value: object "ReferenceError: TCPSocket is not defined"
[FAIL] direct sockets (UDP) do not get blocked on permissions policy direct-sockets=(self)
promise_test: Unhandled rejection with value: object "ReferenceError: UDPSocket is not defined"
Harness: the test ran to completion.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
This is a testharness.js-based test.
PASS Test we can transfer a Video MediaStreamTrackProcessor stream
PASS Test we can transfer an Audio MediaStreamTrackProcessor stream
[PASS] Test we can transfer a Video MediaStreamTrackProcessor stream
[PASS] Test we can transfer an Audio MediaStreamTrackProcessor stream
Harness: the test ran to completion.

Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
This is a testharness.js-based test.
FAIL XRFrame's trackedAnchors is empty when the feature was requested & device returned null anchorsData - webgl promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL XRFrame's trackedAnchors is empty when the feature was requested & device returned null anchorsData - webgl2 promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] XRFrame's trackedAnchors is empty when the feature was requested & device returned null anchorsData - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] XRFrame's trackedAnchors is empty when the feature was requested & device returned null anchorsData - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
Harness: the test ran to completion.

Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
This is a testharness.js-based test.
FAIL Ensures hit test source cancellation propagates to the device when manually cancelled. - webgl promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL Ensures hit test source cancellation propagates to the device when manually cancelled. - webgl2 promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL Ensures transient input hit test source cancellation propagates to the device when manually cancelled. - webgl promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL Ensures transient input hit test source cancellation propagates to the device when manually cancelled. - webgl2 promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL Ensures hit test source cancellation propagates to the device when relying on GC - webgl promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL Ensures hit test source cancellation propagates to the device when relying on GC - webgl2 promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL Ensures transient input hit test source cancellation propagates to the device when relying on GC - webgl promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL Ensures transient input hit test source cancellation propagates to the device when relying on GC - webgl2 promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Ensures hit test source cancellation propagates to the device when manually cancelled. - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Ensures hit test source cancellation propagates to the device when manually cancelled. - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Ensures transient input hit test source cancellation propagates to the device when manually cancelled. - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Ensures transient input hit test source cancellation propagates to the device when manually cancelled. - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Ensures hit test source cancellation propagates to the device when relying on GC - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Ensures hit test source cancellation propagates to the device when relying on GC - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Ensures transient input hit test source cancellation propagates to the device when relying on GC - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Ensures transient input hit test source cancellation propagates to the device when relying on GC - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
Harness: the test ran to completion.

Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
This is a testharness.js-based test.
FAIL Ensures lighting estimation feature works when enabled - webgl promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL Ensures lighting estimation feature works when enabled - webgl2 promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL Ensure lighting estimation feature does not work when not explicitly enabled - webgl promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL Ensure lighting estimation feature does not work when not explicitly enabled - webgl2 promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Ensures lighting estimation feature works when enabled - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Ensures lighting estimation feature works when enabled - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Ensure lighting estimation feature does not work when not explicitly enabled - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Ensure lighting estimation feature does not work when not explicitly enabled - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
Harness: the test ran to completion.

Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
This is a testharness.js-based test.
FAIL inlineVerticalFieldOfView is set appropriately on inline sessions - webgl promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL inlineVerticalFieldOfView is set appropriately on inline sessions - webgl2 promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] inlineVerticalFieldOfView is set appropriately on inline sessions - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] inlineVerticalFieldOfView is set appropriately on inline sessions - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
Harness: the test ran to completion.

Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
This is a testharness.js-based test.
FAIL XRFrame.getPose works between eye-level and floor-level spaces - webgl promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL XRFrame.getPose works between eye-level and floor-level spaces - webgl2 promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] XRFrame.getPose works between eye-level and floor-level spaces - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] XRFrame.getPose works between eye-level and floor-level spaces - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
Harness: the test ran to completion.

Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
This is a testharness.js-based test.
FAIL Immersive session ends if data provider disconnects. - webgl promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL Immersive session ends if data provider disconnects. - webgl2 promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Immersive session ends if data provider disconnects. - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Immersive session ends if data provider disconnects. - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
Harness: the test ran to completion.

Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
This is a testharness.js-based test.
FAIL Inline session ends if magic window data provider disconnects. - webgl promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL Inline session ends if magic window data provider disconnects. - webgl2 promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Inline session ends if magic window data provider disconnects. - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Inline session ends if magic window data provider disconnects. - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
Harness: the test ran to completion.

Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
This is a testharness.js-based test.
FAIL environmentBlendMode is correct for a VR device in immersive - webgl promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL environmentBlendMode is correct for a VR device in immersive - webgl2 promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL environmentBlendMode is correct for a VR device in non-immersive - webgl promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL environmentBlendMode is correct for a VR device in non-immersive - webgl2 promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] environmentBlendMode is correct for a VR device in immersive - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] environmentBlendMode is correct for a VR device in immersive - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] environmentBlendMode is correct for a VR device in non-immersive - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] environmentBlendMode is correct for a VR device in non-immersive - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
Harness: the test ran to completion.

Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
This is a testharness.js-based test.
FAIL Outstanding promises get rejected if environmentProvider disconnects - webgl promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL Outstanding promises get rejected if environmentProvider disconnects - webgl2 promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Outstanding promises get rejected if environmentProvider disconnects - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Outstanding promises get rejected if environmentProvider disconnects - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
Harness: the test ran to completion.

Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
This is a testharness.js-based test.
FAIL Blink appropriately reports when frames are throttled - webgl promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL Blink appropriately reports when frames are throttled - webgl2 promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Blink appropriately reports when frames are throttled - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Blink appropriately reports when frames are throttled - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
Harness: the test ran to completion.

Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
This is a testharness.js-based test.
FAIL A frame should be submitted if the base layer was written to during requestAnimationFrame - webgl promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL A frame should be submitted if the base layer was written to during requestAnimationFrame - webgl2 promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] A frame should be submitted if the base layer was written to during requestAnimationFrame - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] A frame should be submitted if the base layer was written to during requestAnimationFrame - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
Harness: the test ran to completion.

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
This is a testharness.js-based test.
FAIL Test that xrview.projection being detached doesn't cause a crash. promise_test: Unhandled rejection with value: object "TypeError: Failed to construct 'XRWebGLLayer': The provided value is not of type '(WebGL2RenderingContext or WebGLRenderingContext)'."
[FAIL] Test that xrview.projection being detached doesn't cause a crash.
promise_test: Unhandled rejection with value: object "TypeError: Failed to construct 'XRWebGLLayer': The provided value is not of type '(WebGL2RenderingContext or WebGLRenderingContext)'."
Harness: the test ran to completion.

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
This is a testharness.js-based test.
FAIL Keyboard scrolling bubbles out of fenced frame step_wait_func: Wait for horizontal scroll. Timed out waiting on condition
[FAIL] Keyboard scrolling bubbles out of fenced frame
step_wait_func: Wait for horizontal scroll. Timed out waiting on condition
Harness: the test ran to completion.

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
This is a testharness.js-based test.
PASS Test AvcConfig supports 'avc' and 'annexb'
PASS Test H.264 only supports even sizes
FAIL Resolutions exceeding H.264 level are rejected promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'isConfigSupported' on 'VideoEncoder': Invalid width; expected range from 1 to 8192, received 8194."
[PASS] Test AvcConfig supports 'avc' and 'annexb'
[PASS] Test H.264 only supports even sizes
[FAIL] Resolutions exceeding H.264 level are rejected
promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'isConfigSupported' on 'VideoEncoder': Invalid width; expected range from 1 to 8192, received 8194."
Harness: the test ran to completion.

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
This is a testharness.js-based test.
PASS Test AvcConfig supports 'avc' and 'annexb'
PASS Test H.264 only supports even sizes
FAIL Resolutions exceeding H.264 level are rejected promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'isConfigSupported' on 'VideoEncoder': Invalid width; expected range from 1 to 8192, received 8194."
[PASS] Test AvcConfig supports 'avc' and 'annexb'
[PASS] Test H.264 only supports even sizes
[FAIL] Resolutions exceeding H.264 level are rejected
promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'isConfigSupported' on 'VideoEncoder': Invalid width; expected range from 1 to 8192, received 8194."
Harness: the test ran to completion.

Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
This is a testharness.js-based test.
FAIL XRFrame's trackedAnchors is empty when the feature was requested & device returned null anchorsData - webgl promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
FAIL XRFrame's trackedAnchors is empty when the feature was requested & device returned null anchorsData - webgl2 promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] XRFrame's trackedAnchors is empty when the feature was requested & device returned null anchorsData - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] XRFrame's trackedAnchors is empty when the feature was requested & device returned null anchorsData - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
Harness: the test ran to completion.

0 comments on commit fa1b3f5

Please sign in to comment.