Auto merge of #26175 - servo-wpt-sync:wpt_update_13-04-2020, r=servo-wpt-sync

Sync WPT with upstream (13-04-2020)

Automated downstream sync of changes from upstream as of 13-04-2020.
[no-wpt-sync]
r? @servo-wpt-sync
This commit is contained in:
bors-servo 2020-04-13 10:34:24 -04:00 committed by GitHub
commit 804aa3fe39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
37 changed files with 614 additions and 72 deletions

View file

@ -1,4 +0,0 @@
[hit-test-floats-002.html]
[Hit test float]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-004.html]
[Miss float below something else]
expected: FAIL

View file

@ -2,6 +2,3 @@
[Hit test intersecting scaled box]
expected: FAIL
[Hit test within unscaled box]
expected: FAIL

View file

@ -1,2 +1,2 @@
[no-transition-from-ua-to-blocking-stylesheet.html]
expected: FAIL
expected: TIMEOUT

View file

@ -2,6 +2,3 @@
[listeners are called when <iframe> is resized]
expected: FAIL
[listeners are called correct number of times]
expected: FAIL

View file

@ -315,18 +315,18 @@
[<iframe>: separate response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: */* text/html]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
expected: FAIL

View file

@ -11,3 +11,6 @@
[X-Content-Type-Options%3A%20nosniff%0C]
expected: FAIL
[X-Content-Type-Options%3A%20'NosniFF']
expected: FAIL

View file

@ -1,4 +1,4 @@
[traverse_the_history_3.html]
[traverse_the_history_5.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -1,8 +1,4 @@
[skip-document-with-fragment.html]
expected: TIMEOUT
[Autofocus elements in iframed documents with URL fragments should be skipped.]
expected: FAIL
[Autofocus elements in top-level browsing context's documents with URI fragments should be skipped.]
expected: TIMEOUT

View file

@ -1,16 +1,20 @@
[supported-elements.html]
expected: TIMEOUT
[Contenteditable element should support autofocus]
expected: FAIL
[Host element with delegatesFocus including no focusable descendants should be skipped]
expected: FAIL
expected: NOTRUN
[Element with tabindex should support autofocus]
expected: FAIL
expected: TIMEOUT
[Area element should support autofocus]
expected: FAIL
expected: NOTRUN
[Host element with delegatesFocus should support autofocus]
expected: FAIL
expected: NOTRUN
[Non-HTMLElement should not support autofocus]
expected: NOTRUN

View file

@ -1,4 +1,5 @@
[iframe_sandbox_popups_nonescaping-3.html]
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: FAIL
expected: NOTRUN

View file

@ -4,7 +4,7 @@
expected: FAIL
[Rejection handler on pending-then-rejected promise]
expected: TIMEOUT
expected: FAIL
[Sanity check: this all works as expected with no promises involved]
expected: FAIL
@ -16,5 +16,5 @@
expected: FAIL
[Fulfillment handler on pending-then-fulfilled promise]
expected: FAIL
expected: TIMEOUT

View file

@ -71,3 +71,6 @@
[X Rendered audio for channel 5 does not equal [0,0.0626220703125,0.125030517578125,0.18695068359375,0.24810791015625,0.308319091796875,0.3673095703125,0.42486572265625,0.480743408203125,0.53472900390625,0.58660888671875,0.636199951171875,0.68328857421875,0.727691650390625,0.76922607421875,0.8077392578125...\] with an element-wise tolerance of {"absoluteThreshold":0.000030517578125,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[1\]\t3.6732959747314453e-1\t6.2622070312500000e-2\t3.0470752716064453e-1\t4.8658168859649127e+0\t3.0517578125000000e-5\n\t[2\]\t6.8329977989196777e-1\t1.2503051757812500e-1\t5.5826926231384277e-1\t4.4650639949963384e+0\t3.0517578125000000e-5\n\t[3\]\t9.0373212099075317e-1\t1.8695068359375000e-1\t7.1678143739700317e-1\t3.8340669508039502e+0\t3.0517578125000000e-5\n\t[4\]\t9.9780619144439697e-1\t2.4810791015625000e-1\t7.4969828128814697e-1\t3.0216621502152523e+0\t3.0517578125000000e-5\n\t[5\]\t9.5236867666244507e-1\t3.0831909179687500e-1\t6.4404958486557007e-1\t2.0889059484187866e+0\t3.0517578125000000e-5\n\t...and 44055 more errors.\n\tMax AbsError of 1.9999977350234985e+0 at index of 32411.\n\t[32411\]\t9.9999773502349854e-1\t-1.0000000000000000e+0\t1.9999977350234985e+0\t1.9999977350234985e+0\t3.0517578125000000e-5\n\tMax RelError of Infinity at index of 12348.\n\t[12348\]\t9.5105654001235962e-1\t0.0000000000000000e+0\t9.5105654001235962e-1\tInfinity\t3.0517578125000000e-5\n]
expected: FAIL
[X Rendered audio for channel 5 does not equal [0,0.0626220703125,0.125030517578125,0.18695068359375,0.24810791015625,0.308319091796875,0.3673095703125,0.42486572265625,0.480743408203125,0.53472900390625,0.58660888671875,0.636199951171875,0.68328857421875,0.727691650390625,0.76922607421875,0.8077392578125...\] with an element-wise tolerance of {"absoluteThreshold":0.000030517578125,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[1\]\t3.6732959747314453e-1\t6.2622070312500000e-2\t3.0470752716064453e-1\t4.8658168859649127e+0\t3.0517578125000000e-5\n\t[2\]\t6.8329977989196777e-1\t1.2503051757812500e-1\t5.5826926231384277e-1\t4.4650639949963384e+0\t3.0517578125000000e-5\n\t[3\]\t9.0373212099075317e-1\t1.8695068359375000e-1\t7.1678143739700317e-1\t3.8340669508039502e+0\t3.0517578125000000e-5\n\t[4\]\t9.9780619144439697e-1\t2.4810791015625000e-1\t7.4969828128814697e-1\t3.0216621502152523e+0\t3.0517578125000000e-5\n\t[5\]\t9.5236867666244507e-1\t3.0831909179687500e-1\t6.4404958486557007e-1\t2.0889059484187866e+0\t3.0517578125000000e-5\n\t...and 44065 more errors.\n\tMax AbsError of 1.9986611604690552e+0 at index of 15080.\n\t[15080\]\t-9.9994289875030518e-1\t9.9871826171875000e-1\t1.9986611604690552e+0\t2.0012262087101997e+0\t3.0517578125000000e-5\n\tMax RelError of Infinity at index of 10584.\n\t[10584\]\t-5.8778524398803711e-1\t0.0000000000000000e+0\t5.8778524398803711e-1\tInfinity\t3.0517578125000000e-5\n]
expected: FAIL

View file

@ -116,3 +116,9 @@
[X Stitched sine-wave buffers at sample rate 44100 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.000090957,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[31080\]\t2.6490511032320000e+12\t5.6332010030746460e-1\t2.6490511032314365e+12\t4.7025680457444414e+12\t9.0957000000000003e-5\n\t[31081\]\t4.5700546817025259e-41\t6.1397600173950195e-1\t6.1397600173950195e-1\t1.0000000000000000e+0\t9.0957000000000003e-5\n\tMax AbsError of 2.6490511032314365e+12 at index of 31080.\n\tMax RelError of 4.7025680457444414e+12 at index of 31080.\n]
expected: FAIL
[X SNR (-253.19268512166727 dB) is not greater than or equal to 85.58. Got -253.19268512166727.]
expected: FAIL
[X Stitched sine-wave buffers at sample rate 44100 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.000090957,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[31080\]\t-6.7816996732928000e+14\t5.6332010030746460e-1\t6.7816996732928063e+14\t1.2038802928550393e+15\t9.0957000000000003e-5\n\t[31081\]\t4.5854689648100989e-41\t6.1397600173950195e-1\t6.1397600173950195e-1\t1.0000000000000000e+0\t9.0957000000000003e-5\n\tMax AbsError of 6.7816996732928063e+14 at index of 31080.\n\tMax RelError of 1.2038802928550393e+15 at index of 31080.\n]
expected: FAIL

View file

@ -2,3 +2,12 @@
[XRSession interface: attribute interactionMode]
expected: FAIL
[idl_test setup]
expected: FAIL
[XRSession interface: xrSession must inherit property "environmentBlendMode" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "interactionMode" with the proper type]
expected: FAIL

View file

@ -0,0 +1,280 @@
[idlharness.https.window.html]
[XRWebGLLayer must be primary interface of xrWebGLLayer]
expected: FAIL
[XRSession interface: calling requestReferenceSpace(XRReferenceSpaceType) on xrSession with too few arguments must throw TypeError]
expected: FAIL
[XRSystem interface: operation isSessionSupported(XRSessionMode)]
expected: FAIL
[XRInputSourceArray interface: iterable<XRInputSource>]
expected: FAIL
[XRReferenceSpaceEvent interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[XRSession interface: xrSession must inherit property "visibilityState" with the proper type]
expected: FAIL
[XRReferenceSpace interface: xrReferenceSpace must inherit property "onreset" with the proper type]
expected: FAIL
[XRInputSourceArray interface: xrInputSourceArray must inherit property "length" with the proper type]
expected: FAIL
[XRWebGLLayer interface: calling getNativeFramebufferScaleFactor(XRSession) on xrWebGLLayer with too few arguments must throw TypeError]
expected: FAIL
[XRReferenceSpaceEvent interface: attribute referenceSpace]
expected: FAIL
[XRWebGLLayer interface: xrWebGLLayer must inherit property "antialias" with the proper type]
expected: FAIL
[XRReferenceSpaceEvent interface: existence and properties of interface prototype object]
expected: FAIL
[XRSession interface: xrSession must inherit property "requestAnimationFrame(XRFrameRequestCallback)" with the proper type]
expected: FAIL
[XRReferenceSpace interface: calling getOffsetReferenceSpace(XRRigidTransform) on xrReferenceSpace with too few arguments must throw TypeError]
expected: FAIL
[XRSessionEvent interface: xrSessionEvent must inherit property "session" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "onend" with the proper type]
expected: FAIL
[XRPose interface: attribute emulatedPosition]
expected: FAIL
[XRInputSourcesChangeEvent must be primary interface of xrInputSourcesChangeEvent]
expected: FAIL
[XRSession interface: xrSession must inherit property "requestReferenceSpace(XRReferenceSpaceType)" with the proper type]
expected: FAIL
[XRWebGLLayer interface: xrWebGLLayer must inherit property "getNativeFramebufferScaleFactor(XRSession)" with the proper type]
expected: FAIL
[Stringification of xrReferenceSpace]
expected: FAIL
[XRBoundedReferenceSpace interface object length]
expected: FAIL
[XRWebGLLayer interface: operation getNativeFramebufferScaleFactor(XRSession)]
expected: FAIL
[XRWebGLLayer interface: xrWebGLLayer must inherit property "framebuffer" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "onselectstart" with the proper type]
expected: FAIL
[WebGLRenderingContext includes WebGLRenderingContextOverloads: member names are unique]
expected: FAIL
[XRSystem interface: operation requestSession(XRSessionMode, optional XRSessionInit)]
expected: FAIL
[XRReferenceSpaceEvent interface object name]
expected: FAIL
[XRReferenceSpaceEvent interface object length]
expected: FAIL
[XRRenderState must be primary interface of xrRenderState]
expected: FAIL
[XRSession interface: xrSession must inherit property "updateRenderState(optional XRRenderStateInit)" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "cancelAnimationFrame(long)" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "onselectend" with the proper type]
expected: FAIL
[XRSystem interface: attribute ondevicechange]
expected: FAIL
[XRReferenceSpace must be primary interface of xrReferenceSpace]
expected: FAIL
[XRBoundedReferenceSpace interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XRReferenceSpaceEvent interface: existence and properties of interface object]
expected: FAIL
[XRPermissionStatus interface: attribute granted]
expected: FAIL
[XRPermissionStatus interface object length]
expected: FAIL
[Stringification of xrInputSourcesChangeEvent]
expected: FAIL
[XRWebGLLayer interface: xrWebGLLayer must inherit property "getViewport(XRView)" with the proper type]
expected: FAIL
[XRInputSourcesChangeEvent interface: xrInputSourcesChangeEvent must inherit property "session" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "end()" with the proper type]
expected: FAIL
[idl_test setup]
expected: FAIL
[XRReferenceSpaceEvent interface: attribute transform]
expected: FAIL
[XRBoundedReferenceSpace interface: existence and properties of interface object]
expected: FAIL
[XRInputSourcesChangeEvent interface: xrInputSourcesChangeEvent must inherit property "added" with the proper type]
expected: FAIL
[XRRigidTransform interface: new XRRigidTransform() must inherit property "matrix" with the proper type]
expected: FAIL
[XRInputSourceArray must be primary interface of xrInputSourceArray]
expected: FAIL
[XRSession interface: xrSession must inherit property "onselect" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "inputSources" with the proper type]
expected: FAIL
[Stringification of xrSession]
expected: FAIL
[WebGLRenderingContext includes WebGLRenderingContextBase: member names are unique]
expected: FAIL
[XRPermissionStatus interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[XRWebGLLayer interface: calling getViewport(XRView) on xrWebGLLayer with too few arguments must throw TypeError]
expected: FAIL
[WebGLRenderingContextBase interface: webGLRenderingContextBase must inherit property "makeXRCompatible()" with the proper type]
expected: FAIL
[XRWebGLLayer interface: xrWebGLLayer must inherit property "ignoreDepthValues" with the proper type]
expected: FAIL
[Stringification of xrSessionEvent]
expected: FAIL
[XRPermissionStatus interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XRSession interface: xrSession must inherit property "oninputsourceschange" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "onsqueezeend" with the proper type]
expected: FAIL
[XRBoundedReferenceSpace interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[XRPermissionStatus interface object name]
expected: FAIL
[XRRenderState interface: xrRenderState must inherit property "inlineVerticalFieldOfView" with the proper type]
expected: FAIL
[XRBoundedReferenceSpace interface: attribute boundsGeometry]
expected: FAIL
[XRSession interface: calling cancelAnimationFrame(long) on xrSession with too few arguments must throw TypeError]
expected: FAIL
[XRReferenceSpace interface: xrReferenceSpace must inherit property "getOffsetReferenceSpace(XRRigidTransform)" with the proper type]
expected: FAIL
[XRSession interface: calling requestAnimationFrame(XRFrameRequestCallback) on xrSession with too few arguments must throw TypeError]
expected: FAIL
[XRRenderState interface: xrRenderState must inherit property "depthNear" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "onsqueezestart" with the proper type]
expected: FAIL
[XRInputSourcesChangeEvent interface: xrInputSourcesChangeEvent must inherit property "removed" with the proper type]
expected: FAIL
[XRReferenceSpace interface: attribute onreset]
expected: FAIL
[XRSession interface: xrSession must inherit property "onsqueeze" with the proper type]
expected: FAIL
[XRWebGLLayer interface: xrWebGLLayer must inherit property "framebufferHeight" with the proper type]
expected: FAIL
[XRSession interface: operation requestReferenceSpace(XRReferenceSpaceType)]
expected: FAIL
[XRWebGLLayer interface: xrWebGLLayer must inherit property "framebufferWidth" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "renderState" with the proper type]
expected: FAIL
[Stringification of xrWebGLLayer]
expected: FAIL
[XRReferenceSpaceEvent interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[Stringification of xrRenderState]
expected: FAIL
[XRSession must be primary interface of xrSession]
expected: FAIL
[XRSession interface: xrSession must inherit property "onvisibilitychange" with the proper type]
expected: FAIL
[XRPermissionStatus interface: existence and properties of interface prototype object]
expected: FAIL
[XRSessionEvent must be primary interface of xrSessionEvent]
expected: FAIL
[XRBoundedReferenceSpace interface object name]
expected: FAIL
[XRWebGLLayer interface: attribute ignoreDepthValues]
expected: FAIL
[XRRenderState interface: xrRenderState must inherit property "depthFar" with the proper type]
expected: FAIL
[XRRenderState interface: xrRenderState must inherit property "baseLayer" with the proper type]
expected: FAIL
[XRPermissionStatus interface: existence and properties of interface object]
expected: FAIL
[XRSession interface: calling updateRenderState(optional XRRenderStateInit) on xrSession with too few arguments must throw TypeError]
expected: FAIL
[XRBoundedReferenceSpace interface: existence and properties of interface prototype object]
expected: FAIL
[Stringification of xrInputSourceArray]
expected: FAIL
[XRSession interface: operation end()]
expected: FAIL

View file

@ -347075,7 +347075,7 @@
[]
],
"asserts.py": [
"d0bbf522c2414cb78ed7d30502c83b37f825e380",
"f65137463b48f94fd0c5f2383b1a7c35bcd1de54",
[]
],
"authentication.py": [
@ -403920,7 +403920,7 @@
]
],
"is.html": [
"0d905dcd4f6c4796095b06d24a8e9e11a01782bc",
"8490f096976340bc970ed2c6156fb60f433768e9",
[
null,
{}
@ -510286,7 +510286,7 @@
"webxr": {
"ar-module": {
"idlharness.https.window.js": [
"1268f4ea2a5eb228fb49a6f06d8905f8d9480ae7",
"51cc3c42808a66ddde083b8982317e8cdd961c71",
[
"webxr/ar-module/idlharness.https.window.html",
{
@ -510504,7 +510504,7 @@
]
},
"idlharness.https.window.js": [
"04b2e3d91eb38acb512ec469b1bb261d8eb625b2",
"dae201ebc938aa0f21c462505dff56fd13fa756e",
[
"webxr/idlharness.https.window.html",
{
@ -510516,8 +510516,13 @@
[
"script",
"/resources/idlharness.js"
],
[
"timeout",
"long"
]
]
],
"timeout": "long"
}
]
],

View file

@ -1,4 +0,0 @@
[hit-test-floats-002.html]
[Hit test float]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-004.html]
[Miss float below something else]
expected: FAIL

View file

@ -2,6 +2,3 @@
[Hit test intersecting scaled box]
expected: FAIL
[Hit test within unscaled box]
expected: FAIL

View file

@ -1,2 +1,2 @@
[no-transition-from-ua-to-blocking-stylesheet.html]
expected: FAIL
expected: TIMEOUT

View file

@ -2,6 +2,3 @@
[listeners are called when <iframe> is resized]
expected: FAIL
[listeners are called correct number of times]
expected: FAIL

View file

@ -315,18 +315,18 @@
[<iframe>: separate response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: */* text/html]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
expected: FAIL

View file

@ -11,3 +11,6 @@
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
expected: FAIL
[X-Content-Type-Options%3A%20'NosniFF']
expected: FAIL

View file

@ -1,4 +1,4 @@
[traverse_the_history_3.html]
[traverse_the_history_5.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -1,8 +1,4 @@
[skip-document-with-fragment.html]
expected: TIMEOUT
[Autofocus elements in iframed documents with URL fragments should be skipped.]
expected: FAIL
[Autofocus elements in top-level browsing context's documents with URI fragments should be skipped.]
expected: TIMEOUT

View file

@ -1,16 +1,20 @@
[supported-elements.html]
expected: TIMEOUT
[Contenteditable element should support autofocus]
expected: FAIL
[Element with tabindex should support autofocus]
expected: FAIL
expected: TIMEOUT
[Host element with delegatesFocus including no focusable descendants should be skipped]
expected: FAIL
expected: NOTRUN
[Area element should support autofocus]
expected: FAIL
expected: NOTRUN
[Host element with delegatesFocus should support autofocus]
expected: FAIL
expected: NOTRUN
[Non-HTMLElement should not support autofocus]
expected: NOTRUN

View file

@ -1,5 +1,6 @@
[iframe_sandbox_popups_nonescaping-3.html]
type: testharness
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: FAIL
expected: NOTRUN

View file

@ -4,7 +4,7 @@
expected: FAIL
[Rejection handler on pending-then-rejected promise]
expected: TIMEOUT
expected: FAIL
[Sanity check: this all works as expected with no promises involved]
expected: FAIL
@ -16,5 +16,5 @@
expected: FAIL
[Fulfillment handler on pending-then-fulfilled promise]
expected: FAIL
expected: TIMEOUT

View file

@ -140,3 +140,6 @@
[X Rendered audio for channel 5 does not equal [0,0.0626220703125,0.125030517578125,0.18695068359375,0.24810791015625,0.308319091796875,0.3673095703125,0.42486572265625,0.480743408203125,0.53472900390625,0.58660888671875,0.636199951171875,0.68328857421875,0.727691650390625,0.76922607421875,0.8077392578125...\] with an element-wise tolerance of {"absoluteThreshold":0.000030517578125,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[1\]\t3.6732959747314453e-1\t6.2622070312500000e-2\t3.0470752716064453e-1\t4.8658168859649127e+0\t3.0517578125000000e-5\n\t[2\]\t6.8329977989196777e-1\t1.2503051757812500e-1\t5.5826926231384277e-1\t4.4650639949963384e+0\t3.0517578125000000e-5\n\t[3\]\t9.0373212099075317e-1\t1.8695068359375000e-1\t7.1678143739700317e-1\t3.8340669508039502e+0\t3.0517578125000000e-5\n\t[4\]\t9.9780619144439697e-1\t2.4810791015625000e-1\t7.4969828128814697e-1\t3.0216621502152523e+0\t3.0517578125000000e-5\n\t[5\]\t9.5236867666244507e-1\t3.0831909179687500e-1\t6.4404958486557007e-1\t2.0889059484187866e+0\t3.0517578125000000e-5\n\t...and 44055 more errors.\n\tMax AbsError of 1.9999977350234985e+0 at index of 32411.\n\t[32411\]\t9.9999773502349854e-1\t-1.0000000000000000e+0\t1.9999977350234985e+0\t1.9999977350234985e+0\t3.0517578125000000e-5\n\tMax RelError of Infinity at index of 12348.\n\t[12348\]\t9.5105654001235962e-1\t0.0000000000000000e+0\t9.5105654001235962e-1\tInfinity\t3.0517578125000000e-5\n]
expected: FAIL
[X Rendered audio for channel 5 does not equal [0,0.0626220703125,0.125030517578125,0.18695068359375,0.24810791015625,0.308319091796875,0.3673095703125,0.42486572265625,0.480743408203125,0.53472900390625,0.58660888671875,0.636199951171875,0.68328857421875,0.727691650390625,0.76922607421875,0.8077392578125...\] with an element-wise tolerance of {"absoluteThreshold":0.000030517578125,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[1\]\t3.6732959747314453e-1\t6.2622070312500000e-2\t3.0470752716064453e-1\t4.8658168859649127e+0\t3.0517578125000000e-5\n\t[2\]\t6.8329977989196777e-1\t1.2503051757812500e-1\t5.5826926231384277e-1\t4.4650639949963384e+0\t3.0517578125000000e-5\n\t[3\]\t9.0373212099075317e-1\t1.8695068359375000e-1\t7.1678143739700317e-1\t3.8340669508039502e+0\t3.0517578125000000e-5\n\t[4\]\t9.9780619144439697e-1\t2.4810791015625000e-1\t7.4969828128814697e-1\t3.0216621502152523e+0\t3.0517578125000000e-5\n\t[5\]\t9.5236867666244507e-1\t3.0831909179687500e-1\t6.4404958486557007e-1\t2.0889059484187866e+0\t3.0517578125000000e-5\n\t...and 44065 more errors.\n\tMax AbsError of 1.9986611604690552e+0 at index of 15080.\n\t[15080\]\t-9.9994289875030518e-1\t9.9871826171875000e-1\t1.9986611604690552e+0\t2.0012262087101997e+0\t3.0517578125000000e-5\n\tMax RelError of Infinity at index of 10584.\n\t[10584\]\t-5.8778524398803711e-1\t0.0000000000000000e+0\t5.8778524398803711e-1\tInfinity\t3.0517578125000000e-5\n]
expected: FAIL

View file

@ -347,3 +347,9 @@
[X Stitched sine-wave buffers at sample rate 44100 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.000090957,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[31080\]\t2.6490511032320000e+12\t5.6332010030746460e-1\t2.6490511032314365e+12\t4.7025680457444414e+12\t9.0957000000000003e-5\n\t[31081\]\t4.5700546817025259e-41\t6.1397600173950195e-1\t6.1397600173950195e-1\t1.0000000000000000e+0\t9.0957000000000003e-5\n\tMax AbsError of 2.6490511032314365e+12 at index of 31080.\n\tMax RelError of 4.7025680457444414e+12 at index of 31080.\n]
expected: FAIL
[X SNR (-253.19268512166727 dB) is not greater than or equal to 85.58. Got -253.19268512166727.]
expected: FAIL
[X Stitched sine-wave buffers at sample rate 44100 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.000090957,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[31080\]\t-6.7816996732928000e+14\t5.6332010030746460e-1\t6.7816996732928063e+14\t1.2038802928550393e+15\t9.0957000000000003e-5\n\t[31081\]\t4.5854689648100989e-41\t6.1397600173950195e-1\t6.1397600173950195e-1\t1.0000000000000000e+0\t9.0957000000000003e-5\n\tMax AbsError of 6.7816996732928063e+14 at index of 31080.\n\tMax RelError of 1.2038802928550393e+15 at index of 31080.\n]
expected: FAIL

View file

@ -2,3 +2,12 @@
[XRSession interface: attribute interactionMode]
expected: FAIL
[idl_test setup]
expected: FAIL
[XRSession interface: xrSession must inherit property "environmentBlendMode" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "interactionMode" with the proper type]
expected: FAIL

View file

@ -161,3 +161,180 @@
[XRPermissionStatus interface: existence and properties of interface object]
expected: FAIL
[XRWebGLLayer must be primary interface of xrWebGLLayer]
expected: FAIL
[XRSession interface: calling requestReferenceSpace(XRReferenceSpaceType) on xrSession with too few arguments must throw TypeError]
expected: FAIL
[XRSession interface: xrSession must inherit property "visibilityState" with the proper type]
expected: FAIL
[XRReferenceSpace interface: xrReferenceSpace must inherit property "onreset" with the proper type]
expected: FAIL
[XRInputSourceArray interface: xrInputSourceArray must inherit property "length" with the proper type]
expected: FAIL
[XRWebGLLayer interface: calling getNativeFramebufferScaleFactor(XRSession) on xrWebGLLayer with too few arguments must throw TypeError]
expected: FAIL
[XRWebGLLayer interface: xrWebGLLayer must inherit property "antialias" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "requestAnimationFrame(XRFrameRequestCallback)" with the proper type]
expected: FAIL
[XRReferenceSpace interface: calling getOffsetReferenceSpace(XRRigidTransform) on xrReferenceSpace with too few arguments must throw TypeError]
expected: FAIL
[XRSessionEvent interface: xrSessionEvent must inherit property "session" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "onend" with the proper type]
expected: FAIL
[XRInputSourcesChangeEvent must be primary interface of xrInputSourcesChangeEvent]
expected: FAIL
[XRSession interface: xrSession must inherit property "requestReferenceSpace(XRReferenceSpaceType)" with the proper type]
expected: FAIL
[XRWebGLLayer interface: xrWebGLLayer must inherit property "getNativeFramebufferScaleFactor(XRSession)" with the proper type]
expected: FAIL
[Stringification of xrReferenceSpace]
expected: FAIL
[XRWebGLLayer interface: xrWebGLLayer must inherit property "framebuffer" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "onselectstart" with the proper type]
expected: FAIL
[XRRenderState must be primary interface of xrRenderState]
expected: FAIL
[XRSession interface: xrSession must inherit property "updateRenderState(optional XRRenderStateInit)" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "cancelAnimationFrame(long)" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "onselectend" with the proper type]
expected: FAIL
[XRReferenceSpace must be primary interface of xrReferenceSpace]
expected: FAIL
[Stringification of xrInputSourcesChangeEvent]
expected: FAIL
[XRWebGLLayer interface: xrWebGLLayer must inherit property "getViewport(XRView)" with the proper type]
expected: FAIL
[XRInputSourcesChangeEvent interface: xrInputSourcesChangeEvent must inherit property "session" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "end()" with the proper type]
expected: FAIL
[idl_test setup]
expected: FAIL
[XRInputSourcesChangeEvent interface: xrInputSourcesChangeEvent must inherit property "added" with the proper type]
expected: FAIL
[XRRigidTransform interface: new XRRigidTransform() must inherit property "matrix" with the proper type]
expected: FAIL
[XRInputSourceArray must be primary interface of xrInputSourceArray]
expected: FAIL
[XRSession interface: xrSession must inherit property "onselect" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "inputSources" with the proper type]
expected: FAIL
[Stringification of xrSession]
expected: FAIL
[XRWebGLLayer interface: calling getViewport(XRView) on xrWebGLLayer with too few arguments must throw TypeError]
expected: FAIL
[WebGLRenderingContextBase interface: webGLRenderingContextBase must inherit property "makeXRCompatible()" with the proper type]
expected: FAIL
[XRWebGLLayer interface: xrWebGLLayer must inherit property "ignoreDepthValues" with the proper type]
expected: FAIL
[Stringification of xrSessionEvent]
expected: FAIL
[XRSession interface: xrSession must inherit property "oninputsourceschange" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "onsqueezeend" with the proper type]
expected: FAIL
[XRRenderState interface: xrRenderState must inherit property "inlineVerticalFieldOfView" with the proper type]
expected: FAIL
[XRSession interface: calling cancelAnimationFrame(long) on xrSession with too few arguments must throw TypeError]
expected: FAIL
[XRReferenceSpace interface: xrReferenceSpace must inherit property "getOffsetReferenceSpace(XRRigidTransform)" with the proper type]
expected: FAIL
[XRSession interface: calling requestAnimationFrame(XRFrameRequestCallback) on xrSession with too few arguments must throw TypeError]
expected: FAIL
[XRRenderState interface: xrRenderState must inherit property "depthNear" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "onsqueezestart" with the proper type]
expected: FAIL
[XRInputSourcesChangeEvent interface: xrInputSourcesChangeEvent must inherit property "removed" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "onsqueeze" with the proper type]
expected: FAIL
[XRWebGLLayer interface: xrWebGLLayer must inherit property "framebufferHeight" with the proper type]
expected: FAIL
[XRWebGLLayer interface: xrWebGLLayer must inherit property "framebufferWidth" with the proper type]
expected: FAIL
[XRSession interface: xrSession must inherit property "renderState" with the proper type]
expected: FAIL
[Stringification of xrWebGLLayer]
expected: FAIL
[Stringification of xrRenderState]
expected: FAIL
[XRSession must be primary interface of xrSession]
expected: FAIL
[XRSession interface: xrSession must inherit property "onvisibilitychange" with the proper type]
expected: FAIL
[XRSessionEvent must be primary interface of xrSessionEvent]
expected: FAIL
[XRRenderState interface: xrRenderState must inherit property "depthFar" with the proper type]
expected: FAIL
[XRRenderState interface: xrRenderState must inherit property "baseLayer" with the proper type]
expected: FAIL
[XRSession interface: calling updateRenderState(optional XRRenderStateInit) on xrSession with too few arguments must throw TypeError]
expected: FAIL
[Stringification of xrInputSourceArray]
expected: FAIL

View file

@ -73,7 +73,7 @@
</div>
</div>
<div class="h" id="h1">
Black
Blue
</div>
</div>
<div class="c" id="c2">
@ -132,8 +132,8 @@
test(() => {
a1.className = "a";
assert_equals(getComputedStyle(b2).color, blue);
assert_equals(getComputedStyle(h1).color, black);
assert_equals(getComputedStyle(h1).color, blue);
}, "Test specificity of :is().");
</script>
</body>
</html>
</html>

View file

@ -2,6 +2,8 @@ import base64
import imghdr
import struct
from six import PY3
from webdriver import Element, NoSuchAlertException, WebDriverException
@ -81,8 +83,15 @@ def assert_response_headers(headers):
"""
assert 'cache-control' in headers
assert 'no-cache' == headers['cache-control']
assert 'content-type' in headers
assert 'application/json; charset=utf-8' == headers['content-type']
# In Python 2, HTTPResponse normalizes header keys to lowercase, whereas
# Python 3 preserves the case. See
# https://github.com/web-platform-tests/wpt/pull/22858#issuecomment-612656097
if PY3:
assert 'Content-Type' in headers
assert 'application/json; charset=utf-8' == headers['Content-Type']
else:
assert 'content-type' in headers
assert 'application/json; charset=utf-8' == headers['content-type']
def assert_dialog_handled(session, expected_text, expected_retval):

View file

@ -10,7 +10,8 @@ idl_test(
['webxr', 'dom'],
async idl_array => {
idl_array.add_objects({
// TODO: XRSession
XRSession: ['xrSession'],
});
self.xrSession = await navigator.xr.requestSession('inline');
}
);

View file

@ -1,5 +1,6 @@
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// META: timeout=long
'use strict';
@ -7,11 +8,48 @@
idl_test(
['webxr'],
['permissions', 'webgl1', 'html', 'dom'],
['permissions', 'webgl1', 'geometry', 'html', 'dom'],
async idl_array => {
idl_array.add_objects({
Navigator: ['navigator'],
XR: ['navigator.xr'],
// TODO: XRSystem
XRSession: ['xrSession'],
XRRenderState: ['xrRenderState'],
// TODO: XRFrame
// TODO: XRSpace
XRReferenceSpace: ['xrReferenceSpace'],
// TODO: XRBoundedReferenceSpace
// TODO: XRView
// TODO: XRViewport
XRRigidTransform: ['new XRRigidTransform()'],
// TODO: XRPose
// TODO: XRViewerPose
// TODO: XRInputSource
XRInputSourceArray: ['xrInputSourceArray'],
XRWebGLLayer: ['xrWebGLLayer'],
WebGLRenderingContextBase: ['webGLRenderingContextBase'],
XRSessionEvent: ['xrSessionEvent'],
// TODO: XRInputSourceEvent
XRInputSourcesChangeEvent: ['xrInputSourcesChangeEvent'],
// TODO: XRReferenceSpaceEvent
// TODO: XRPermissionStatus
});
self.xrSession = await navigator.xr.requestSession('inline');
self.xrRenderState = self.xrSession.renderState;
self.xrReferenceSpace = await self.xrSession.requestReferenceSpace('viewer');
self.xrInputSourceArray = self.xrSession.inputSources;
self.xrSessionEvent = new XRSessionEvent('end', {session: self.xrSession});
self.xrInputSourcesChangeEvent = new XRInputSourcesChangeEvent('inputsourceschange', {
session: self.xrSession,
added: [],
removed: [],
});
// XRWebGLRenderingContext is a typedef to either WebGLRenderingContext or WebGL2RenderingContext.
const canvas = document.createElement('canvas');
self.webGLRenderingContextBase = canvas.getContext('webgl');
self.xrWebGLLayer = new XRWebGLLayer(self.xrSession, self.webGLRenderingContextBase);
}
);