Skip to content

Commit

Permalink
Update web-platform-tests to revision 3f9178031eec5374c9a7d5709a7e11b…
Browse files Browse the repository at this point in the history
…a4a1955ed
  • Loading branch information
servo-wpt-sync committed Jul 23, 2018
1 parent 4997ec2 commit a5af9a1
Show file tree
Hide file tree
Showing 192 changed files with 3,944 additions and 1,928 deletions.
1,057 changes: 775 additions & 282 deletions tests/wpt/metadata/MANIFEST.json

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 2 additions & 0 deletions tests/wpt/metadata/encoding/single-byte-decoder.html.ini
Expand Up @@ -34,3 +34,5 @@
[windows-1254: iso_8859-9:1989 (XMLHttpRequest)]
expected: FAIL


[single-byte-decoder.html?TextDecoder]
Expand Up @@ -24,3 +24,5 @@
[A Keep-Alive fetch() with a body over the Quota Limit should reject.]
expected: FAIL


[request-keepalive-quota.html?include=slow-1]
4 changes: 0 additions & 4 deletions tests/wpt/metadata/gamepad/idlharness.html.ini

This file was deleted.

4 changes: 4 additions & 0 deletions tests/wpt/metadata/gamepad/idlharness.window.js.ini
@@ -0,0 +1,4 @@
[idlharness.window.html]
[idlharness]
expected: FAIL

Expand Up @@ -30,3 +30,6 @@
[Set HTTP URL frame location.protocol to data]
expected: FAIL

[Set HTTP URL frame location.protocol to x]
expected: FAIL

Expand Up @@ -292,3 +292,7 @@
[<meta>: "1\\furl=foo"]
expected: TIMEOUT


[parsing.html?131-last]

[parsing.html?81-90]
Expand Up @@ -172,63 +172,3 @@
[XHTML img usemap="http://example.org/#garbage-before-hash-id"]
expected: FAIL

[HTML (quirks) IMG usemap="no-hash-name"]
expected: FAIL

[HTML (quirks) IMG usemap="no-hash-id"]
expected: FAIL

[HTML (quirks) IMG usemap="hash-last#"]
expected: FAIL

[HTML (quirks) IMG usemap=""]
expected: FAIL

[HTML (quirks) IMG usemap="#"]
expected: FAIL

[HTML (quirks) IMG usemap="#percent-escape-name-%41"]
expected: FAIL

[HTML (quirks) IMG usemap="#percent-escape-id-%41"]
expected: FAIL

[HTML (quirks) IMG usemap="#no-such-map"]
expected: FAIL

[HTML (quirks) IMG usemap="#different-CASE-name"]
expected: FAIL

[HTML (quirks) IMG usemap="#different-CASE-id"]
expected: FAIL

[XHTML img usemap="no-hash-name"]
expected: FAIL

[XHTML img usemap="no-hash-id"]
expected: FAIL

[XHTML img usemap="hash-last#"]
expected: FAIL

[XHTML img usemap=""]
expected: FAIL

[XHTML img usemap="#"]
expected: FAIL

[XHTML img usemap="#percent-escape-name-%41"]
expected: FAIL

[XHTML img usemap="#percent-escape-id-%41"]
expected: FAIL

[XHTML img usemap="#no-such-map"]
expected: FAIL

[XHTML img usemap="#different-CASE-name"]
expected: FAIL

[XHTML img usemap="#different-CASE-id"]
expected: FAIL

@@ -0,0 +1,4 @@
[image-decode-with-quick-attach.html]
[HTMLImageElement.prototype.decode(), attach to DOM before promise resolves.]
expected: FAIL

@@ -0,0 +1,4 @@
[textarea-validity-clone.html]
[<textarea> validity state should be preserved after a clone]
expected: FAIL

@@ -0,0 +1,4 @@
[010.html]
[Salvagability of document.opened document]
expected: FAIL

@@ -0,0 +1,91 @@
[excluded-properties.html]
[Property block-size does not support quirky length]
expected: FAIL

[Property inline-size does not support quirky length]
expected: FAIL

[Property margin-block-end does not support quirky length]
expected: FAIL

[Property margin-block-start does not support quirky length]
expected: FAIL

[Property margin-inline-end does not support quirky length]
expected: FAIL

[Property margin-inline-start does not support quirky length]
expected: FAIL

[Property min-block-size does not support quirky length]
expected: FAIL

[Property min-inline-size does not support quirky length]
expected: FAIL

[Property offset-distance does not support quirky length]
expected: FAIL

[Property padding-block-end does not support quirky length]
expected: FAIL

[Property padding-block-start does not support quirky length]
expected: FAIL

[Property padding-inline-end does not support quirky length]
expected: FAIL

[Property padding-inline-start does not support quirky length]
expected: FAIL

[Property scroll-margin-block-end does not support quirky length]
expected: FAIL

[Property scroll-margin-block-start does not support quirky length]
expected: FAIL

[Property scroll-margin-bottom does not support quirky length]
expected: FAIL

[Property scroll-margin-inline-end does not support quirky length]
expected: FAIL

[Property scroll-margin-inline-start does not support quirky length]
expected: FAIL

[Property scroll-margin-left does not support quirky length]
expected: FAIL

[Property scroll-margin-right does not support quirky length]
expected: FAIL

[Property scroll-margin-top does not support quirky length]
expected: FAIL

[Property scroll-padding-block-end does not support quirky length]
expected: FAIL

[Property scroll-padding-block-start does not support quirky length]
expected: FAIL

[Property scroll-padding-bottom does not support quirky length]
expected: FAIL

[Property scroll-padding-inline-end does not support quirky length]
expected: FAIL

[Property scroll-padding-inline-start does not support quirky length]
expected: FAIL

[Property scroll-padding-left does not support quirky length]
expected: FAIL

[Property scroll-padding-right does not support quirky length]
expected: FAIL

[Property scroll-padding-top does not support quirky length]
expected: FAIL

[Property shape-margin does not support quirky length]
expected: FAIL

2 changes: 2 additions & 0 deletions tests/wpt/metadata/websockets/binary/001.html.ini
Expand Up @@ -4,3 +4,5 @@
[WebSockets: Send/Receive blob, blob size less than network array buffer]
expected: TIMEOUT


[001.html]
2 changes: 2 additions & 0 deletions tests/wpt/metadata/websockets/binary/002.html.ini
Expand Up @@ -3,3 +3,5 @@
[WebSockets: Send/Receive blob, blob size greater than network array buffer]
expected: TIMEOUT


[002.html]
2 changes: 2 additions & 0 deletions tests/wpt/metadata/websockets/binary/004.html.ini
Expand Up @@ -3,3 +3,5 @@
[WebSockets: Send/Receive ArrayBuffer, size greater than network array buffer]
expected: TIMEOUT


[004.html]
2 changes: 2 additions & 0 deletions tests/wpt/metadata/websockets/binary/005.html.ini
Expand Up @@ -4,3 +4,5 @@
[WebSockets: Send/Receive ArrayBuffer, size less than network array buffer]
expected: TIMEOUT


[005.html]
Expand Up @@ -4,3 +4,5 @@
[WebSockets: bufferedAmount for ArrayBuffer]
expected: TIMEOUT


[bufferedAmount-arraybuffer.html]
Expand Up @@ -4,3 +4,5 @@
[WebSockets: bufferedAmount for blob]
expected: TIMEOUT


[bufferedAmount-blob.html]
4 changes: 0 additions & 4 deletions tests/wpt/metadata/webstorage/idlharness.html.ini

This file was deleted.

4 changes: 4 additions & 0 deletions tests/wpt/metadata/webstorage/idlharness.window.js.ini
@@ -0,0 +1,4 @@
[idlharness.window.html]
[idlharness]
expected: FAIL

4 changes: 4 additions & 0 deletions tests/wpt/metadata/xhr/sync-no-timeout.any.js.ini
Expand Up @@ -5,3 +5,7 @@
[sync-no-timeout]
expected: FAIL


[sync-no-timeout.any.worker.html]

[sync-no-timeout.any.html]
@@ -0,0 +1,17 @@
<link rel="match" href="drawimage_canvas_self_ref.html">
<canvas id="dest" height="100" width="100"></canvas>
<script>
var canvasWidth = canvasHeight = 100;
var destWidth = canvasWidth / 4;
var destHeight = canvasHeight / 4;
var destCanvas = document.getElementById('dest');
var destCtx = destCanvas.getContext('2d');

destCtx.fillStyle = 'red';
destCtx.fillRect(0, 0, canvasWidth, canvasHeight);
destCtx.fillStyle = 'green';
destCtx.fillRect(0, 0, canvasWidth / 2, canvasHeight / 2);
destCtx.drawImage(destCanvas,
0, 0, destWidth, destHeight,
canvasWidth / 2, canvasHeight / 2, destWidth, destHeight);
</script>
@@ -0,0 +1,11 @@
<canvas id="dest" height="100" width="100"></canvas>
<script>
var canvasWidth = canvasHeight = 100;
var destCanvas = document.getElementById('dest');
var destCtx = destCanvas.getContext('2d');
destCtx.fillStyle = 'red';
destCtx.fillRect(0, 0, canvasWidth, canvasHeight);
destCtx.fillStyle = 'green';
destCtx.fillRect(0, 0, canvasWidth / 2, canvasHeight / 2);
destCtx.fillRect(canvasWidth / 2, canvasHeight / 2, canvasWidth / 4, canvasHeight / 4);
</script>
37 changes: 0 additions & 37 deletions tests/wpt/web-platform-tests/ambient-light/idlharness.https.html

This file was deleted.

@@ -0,0 +1,17 @@
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

// https://w3c.github.io/ambient-light/

'use strict';

idl_test(
['ambient-light'],
['generic-sensor', 'dom'],
idl_array => {
idl_array.add_objects({
AmbientLightSensor: ['new AmbientLightSensor()']
});
},
'Test IDL implementation of Ambient Light Sensor'
);
25 changes: 25 additions & 0 deletions tests/wpt/web-platform-tests/background-fetch/idlharness.any.js
@@ -0,0 +1,25 @@
// META: global=window,worker
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

'use strict';

// https://wicg.github.io/background-fetch/

idl_test(
['background-fetch'],
['service-workers', 'dedicated-workers', 'dom'],
idl_array => {
const isServiceWorker = location.pathname.includes('.serviceworker.');
if (isServiceWorker) {
idl_array.add_objects({
ServiceWorkerGlobalScope: ['self'],
ServiceWorkerRegistration: ['registration'],
BackgroundFetchManager: ['registration.backgroundFetch'],
BackgroundFetchEvent: ['new BackgroundFetchEvent("type")'],
BackgroundFetchUpdateEvent: ['new BackgroundFetchUpdateEvent("type")'],
});
}
},
'background-fetch interfaces'
);

0 comments on commit a5af9a1

Please sign in to comment.