Skip to content

Commit

Permalink
Update web-platform-tests to revision 8f35eec39a68b77c04b4dbe1f108e4f…
Browse files Browse the repository at this point in the history
…d86ad7afc
  • Loading branch information
servo-wpt-sync authored and jdm committed Apr 22, 2019
1 parent 3282446 commit a7432be
Show file tree
Hide file tree
Showing 15 changed files with 49 additions and 64 deletions.
1 change: 1 addition & 0 deletions resources/user-agent-js/00.example.js
Expand Up @@ -3,3 +3,4 @@
// Files are sorted alphabetically. When committing polyfills
// order them with numbers, e.g. `01.innerhtml.js` will be executed before
// `05.jquery.js`
WheelEvent = { DOM_DELTA_PIXEL: 5, DOM_DELTA_LINE: 5, DOM_DELTA_PAGE: 5 };
6 changes: 3 additions & 3 deletions tests/wpt/metadata/MANIFEST.json
Expand Up @@ -669845,7 +669845,7 @@
"support"
],
"interfaces/animation-worklet.idl": [
"58d0bc51a67be51d1d3fab75096b71feef8dea9b",
"159cabd09cd0b425c933cdfde58c46c8f14c9819",
"support"
],
"interfaces/appmanifest.idl": [
Expand Down Expand Up @@ -670289,7 +670289,7 @@
"support"
],
"interfaces/web-bluetooth.idl": [
"c5fd30cf320ac857d34758558110c972770fd428",
"183f77326051ad116785e3a5c371435afd9f7b65",
"support"
],
"interfaces/web-nfc.idl": [
Expand Down Expand Up @@ -670345,7 +670345,7 @@
"support"
],
"interfaces/webxr.idl": [
"6a45597594631eb458c459e3d8bf6cca43fbd06c",
"9e02becb76f70dc7c675568e070d71ab15008a9e",
"support"
],
"interfaces/worklets.idl": [
Expand Down
Expand Up @@ -212,3 +212,8 @@
[Bluetooth interface: attribute oncharacteristicvaluechanged]
expected: FAIL

[BluetoothRemoteGATTCharacteristic interface: operation writeValueWithResponse(BufferSource)]
expected: FAIL

[BluetoothRemoteGATTCharacteristic interface: operation writeValueWithoutResponse(BufferSource)]
expected: FAIL
Expand Up @@ -218,9 +218,6 @@
[Matching font-weight: '501' should prefer '500' over '450 460']
expected: FAIL

[Matching font-weight: '501' should prefer '501' over '502 510']
expected: FAIL

[Matching font-style: 'italic' should prefer 'oblique 30deg 60deg' over 'oblique 40deg 50deg']
expected: FAIL

Expand Down Expand Up @@ -296,15 +293,9 @@
[Matching font-style: 'oblique 10deg' should prefer 'oblique 5deg' over 'oblique 15deg 20deg']
expected: FAIL

[Matching font-style: 'oblique -10deg' should prefer 'oblique -50deg -40deg' over 'italic']
expected: FAIL

[Matching font-weight: '400' should prefer '400' over '450 460']
expected: FAIL

[Matching font-style: 'oblique 20deg' should prefer 'oblique 0deg' over 'oblique -50deg -20deg']
expected: FAIL

[Matching font-style: 'italic' should prefer 'oblique 0deg' over 'oblique -60deg -30deg']
expected: FAIL

Expand Down
Expand Up @@ -74,6 +74,3 @@
[opacity end]
expected: FAIL

[letter-spacing end]
expected: FAIL

37 changes: 5 additions & 32 deletions tests/wpt/metadata/fetch/content-type/response.window.js.ini
Expand Up @@ -22,7 +22,7 @@
expected: NOTRUN

[<iframe>: combined response Content-Type: text/plain */*;charset=gbk]
expected: TIMEOUT
expected: FAIL

[fetch(): separate response Content-Type: text/html;x=" text/plain]
expected: NOTRUN
Expand Down Expand Up @@ -163,7 +163,7 @@
expected: NOTRUN

[<iframe>: combined response Content-Type: text/html;" " text/plain]
expected: TIMEOUT
expected: FAIL

[Request: combined response Content-Type: text/plain;charset=gbk;x=foo text/plain]
expected: NOTRUN
Expand All @@ -172,7 +172,7 @@
expected: NOTRUN

[<iframe>: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: TIMEOUT
expected: FAIL

[Response: combined response Content-Type: text/html;x=" text/plain]
expected: NOTRUN
Expand Down Expand Up @@ -202,7 +202,7 @@
expected: NOTRUN

[<iframe>: separate response Content-Type: text/html;" " text/plain]
expected: TIMEOUT
expected: FAIL

[fetch(): separate response Content-Type: text/plain */*;charset=gbk]
expected: NOTRUN
Expand Down Expand Up @@ -286,7 +286,7 @@
expected: NOTRUN

[<iframe>: separate response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: TIMEOUT
expected: FAIL

[fetch(): combined response Content-Type: text/html;" " text/plain]
expected: NOTRUN
Expand All @@ -310,32 +310,5 @@
expected: NOTRUN

[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: TIMEOUT

[<iframe>: combined response Content-Type: text/html;" text/plain]
expected: TIMEOUT

[<iframe>: separate response Content-Type: text/html;" text/plain]
expected: TIMEOUT

[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
expected: TIMEOUT

[<iframe>: separate response Content-Type: text/html */*]
expected: FAIL

[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: TIMEOUT

[<iframe>: separate response Content-Type: text/html;x=" text/plain]
expected: TIMEOUT

[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
expected: TIMEOUT

[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
expected: TIMEOUT

[<iframe>: combined response Content-Type: text/html;x=" text/plain]
expected: TIMEOUT

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

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

This file was deleted.

@@ -0,0 +1,2 @@
[script-onerror-insertion-point-2.html]
expected: TIMEOUT
@@ -0,0 +1,4 @@
[iframe_005.html]
[document.write external script into iframe write back into parent]
expected: FAIL

2 changes: 2 additions & 0 deletions tests/wpt/mozilla/meta/css/transition_calc_implicit.html.ini
@@ -0,0 +1,2 @@
[transition_calc_implicit.html]
expected: TIMEOUT
19 changes: 17 additions & 2 deletions tests/wpt/web-platform-tests/interfaces/animation-worklet.idl
Expand Up @@ -3,23 +3,38 @@
// (https://github.com/tidoust/reffy-reports)
// Source: CSS Animation Worklet API (https://wicg.github.io/animation-worklet/)

[Exposed=Window]
partial namespace CSS {
[SameObject] readonly attribute Worklet animationWorklet;
};

[Exposed=AnimationWorklet, Global=AnimationWorklet, Constructor (optional any options)]
interface StatelessAnimator {
};

[Exposed=AnimationWorklet, Global=AnimationWorklet,
Constructor (optional any options, optional any state)]
interface StatefulAnimator {
any state();
};

[ Exposed=AnimationWorklet, Global=AnimationWorklet ]
interface AnimationWorkletGlobalScope : WorkletGlobalScope {
void registerAnimator(DOMString name, VoidFunction animatorCtor);
void registerAnimator(DOMString name, AnimatorInstanceConstructor animatorCtor);
};

[Constructor (DOMString animatorName,
callback AnimatorInstanceConstructor = any (any options, optional any state);

[Exposed=Window,
Constructor (DOMString animatorName,
optional (AnimationEffect or sequence<AnimationEffect>)? effects = null,
optional AnimationTimeline? timeline,
optional any options)]
interface WorkletAnimation : Animation {
readonly attribute DOMString animatorName;
};

[Exposed=AnimationWorklet]
interface WorkletGroupEffect {
sequence<AnimationEffect> getChildren();
};
Expand Down
2 changes: 2 additions & 0 deletions tests/wpt/web-platform-tests/interfaces/web-bluetooth.idl
Expand Up @@ -164,6 +164,8 @@ interface BluetoothRemoteGATTCharacteristic : EventTarget {
getDescriptors(optional BluetoothDescriptorUUID descriptor);
Promise<DataView> readValue();
Promise<void> writeValue(BufferSource value);
Promise<void> writeValueWithResponse(BufferSource value);
Promise<void> writeValueWithoutResponse(BufferSource value);
Promise<BluetoothRemoteGATTCharacteristic> startNotifications();
Promise<BluetoothRemoteGATTCharacteristic> stopNotifications();
};
Expand Down
5 changes: 0 additions & 5 deletions tests/wpt/web-platform-tests/interfaces/webxr.idl
Expand Up @@ -30,7 +30,6 @@ enum XREnvironmentBlendMode {

[SecureContext, Exposed=Window] interface XRSession : EventTarget {
// Attributes
readonly attribute XRSessionMode mode;
readonly attribute XREnvironmentBlendMode environmentBlendMode;
readonly attribute XRRenderState renderState;
readonly attribute XRSpace viewerSpace;
Expand Down Expand Up @@ -110,7 +109,6 @@ dictionary XRReferenceSpaceOptions {

[SecureContext, Exposed=Window]
interface XRStationaryReferenceSpace : XRReferenceSpace {
readonly attribute XRStationaryReferenceSpaceSubtype subtype;
};

[SecureContext, Exposed=Window]
Expand Down Expand Up @@ -217,9 +215,6 @@ interface XRWebGLLayer : XRLayer {
readonly attribute XRWebGLRenderingContext context;

readonly attribute boolean antialias;
readonly attribute boolean depth;
readonly attribute boolean stencil;
readonly attribute boolean alpha;
readonly attribute boolean ignoreDepthValues;

readonly attribute WebGLFramebuffer framebuffer;
Expand Down

0 comments on commit a7432be

Please sign in to comment.