Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update web-platform-tests to revision 4657e102531b29ebfbf73b547693288…
…c51c8b8c0
  • Loading branch information
servo-wpt-sync committed Apr 20, 2019
1 parent c449cbb commit ecabb8b
Show file tree
Hide file tree
Showing 19 changed files with 778 additions and 273 deletions.
21 changes: 15 additions & 6 deletions tests/wpt/metadata/MANIFEST.json
Expand Up @@ -319097,6 +319097,11 @@
{}
]
],
"tools/lint/rules.py": [
[
{}
]
],
"tools/lint/tests/__init__.py": [
[
{}
Expand Down Expand Up @@ -649420,7 +649425,7 @@
"support"
],
"generic-sensor/generic-sensor-tests.js": [
"8168d7a39f75fc22404c8c39937723e10c372d2d",
"a48b4c59aa89d0f1a0c7855f93bd80ce0f33fbf0",
"support"
],
"generic-sensor/idlharness.https.window.js": [
Expand Down Expand Up @@ -670296,7 +670301,7 @@
"support"
],
"interfaces/webaudio.idl": [
"4f1914dbae23a5619b72b92b761bd146d1aaacf9",
"4679558023ae87655f46b10d5a57d39269c6e8c9",
"support"
],
"interfaces/webauthn.idl": [
Expand Down Expand Up @@ -704876,7 +704881,11 @@
"support"
],
"tools/lint/lint.py": [
"ccadcdc16c72a9790c7de697c6f7762f0cbe06f1",
"19d0c112186a09ab2ca5fb449faf4ea90bb66e04",
"support"
],
"tools/lint/rules.py": [
"78f9d072a8a71c7af0494dc3625bd7aa937a5554",
"support"
],
"tools/lint/tests/__init__.py": [
Expand Down Expand Up @@ -705016,15 +705025,15 @@
"support"
],
"tools/lint/tests/test_file_lints.py": [
"28ccacc8787c61c2a6cf34552f179ef893360fed",
"ddf03986e10f5c336ea7ce7731bbcdd2135235d0",
"support"
],
"tools/lint/tests/test_lint.py": [
"dbd4708cdc969da6824ba377dcf9f33a326b9863",
"support"
],
"tools/lint/tests/test_path_lints.py": [
"bf8418d52a02e1a22b83fbb15c0b468969546dc6",
"ab44c559187e8e435a34d5e13076feb420a15270",
"support"
],
"tools/localpaths.py": [
Expand Down Expand Up @@ -722416,7 +722425,7 @@
"testharness"
],
"workers/modules/resources/credentials.py": [
"7623d849625db4df7a9a10b8edd6f5e5e3187faf",
"fb1c7fe96cba4f41ac4b32c09642aea44fe05b23",
"support"
],
"workers/modules/resources/dynamic-import-and-then-static-import-worker.js": [
Expand Down
Expand Up @@ -311,3 +311,27 @@
[Matching font-style: 'oblique -10deg' should prefer 'oblique -1deg 0deg' over 'oblique -20deg -15deg']
expected: FAIL

[Matching font-weight: '430' should prefer '350 399' over '340 398']
expected: FAIL

[Matching font-stretch: '100%' should prefer '110% 120%' over '115% 116%']
expected: FAIL

[Matching font-weight: '430' should prefer '500' over '400 425']
expected: FAIL

[Matching font-stretch: '110%' should prefer '105%' over '100%']
expected: FAIL

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

[Matching font-weight: '400' should prefer '351 398' over '501 550']
expected: FAIL

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

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

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

[letter-spacing end]
expected: FAIL

65 changes: 2 additions & 63 deletions tests/wpt/metadata/encoding/single-byte-decoder.html.ini
Expand Up @@ -2,7 +2,7 @@
type: testharness

[single-byte-decoder.html?document]
expected: CRASH
expected: TIMEOUT
[ISO-8859-4: iso_8859-4:1988 (document.characterSet and document.inputEncoding)]
expected: FAIL

Expand Down Expand Up @@ -32,7 +32,6 @@


[single-byte-decoder.html?XMLHttpRequest]
expected: CRASH
[ISO-8859-2: iso_8859-2:1987 (XMLHttpRequest)]
expected: FAIL

Expand All @@ -58,67 +57,7 @@
expected: FAIL

[windows-1254: iso_8859-9:1989 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1254: windows-1254 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1257: cp1257 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1254: x-cp1254 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1255: windows-1255 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1258: x-cp1258 (XMLHttpRequest)]
expected: TIMEOUT

[x-mac-cyrillic: x-mac-cyrillic (XMLHttpRequest)]
expected: TIMEOUT

[windows-1258: cp1258 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1257: x-cp1257 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1254: iso88599 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1254: iso_8859-9 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1257: windows-1257 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1258: windows-1258 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1256: cp1256 (XMLHttpRequest)]
expected: TIMEOUT

[x-mac-cyrillic: x-mac-ukrainian (XMLHttpRequest)]
expected: TIMEOUT

[windows-1255: x-cp1255 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1256: x-cp1256 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1256: windows-1256 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1254: l5 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1254: latin5 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1254: iso8859-9 (XMLHttpRequest)]
expected: TIMEOUT
expected: FAIL


[single-byte-decoder.html?TextDecoder]
37 changes: 32 additions & 5 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: FAIL
expected: TIMEOUT

[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: FAIL
expected: TIMEOUT

[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: FAIL
expected: TIMEOUT

[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: FAIL
expected: TIMEOUT

[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: FAIL
expected: TIMEOUT

[fetch(): combined response Content-Type: text/html;" " text/plain]
expected: NOTRUN
Expand All @@ -310,5 +310,32 @@
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

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

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

@@ -0,0 +1,10 @@
[non-active-document.html]
[DOMParser]
expected: FAIL

[createHTMLDocument]
expected: FAIL

[<template>]
expected: FAIL

This file was deleted.

@@ -1,4 +1,5 @@
[realtimeanalyser-fft-scaling.html]
expected: TIMEOUT
[X 2048-point FFT peak position is not equal to 64. Got 0.]
expected: FAIL

Expand Down
Expand Up @@ -58,10 +58,10 @@
expected: NOTRUN

[new Worker() with type=module and credentials=omit should not send the credentials]
expected: NOTRUN
expected: FAIL

[new Worker() with type=module and default credentials option should behave as credentials=same-origin and send the credentials for same-origin static imports]
expected: NOTRUN
expected: TIMEOUT

[new Worker() with type=classic should always send the credentials regardless of the credentials option (same-origin).]
expected: NOTRUN
Expand Down Expand Up @@ -93,12 +93,3 @@
[new Worker() with type=module and credentials=include should send the credentials for same-origin dynamic imports]
expected: NOTRUN

[new Worker() with type=module and credentials=same-origin should send the credentials]
expected: NOTRUN

[new Worker() with type=module and credentials=include should send the credentials]
expected: NOTRUN

[new Worker() with type=module and default credentials option should behave as credentials=same-origin and send the credentials]
expected: TIMEOUT

2 changes: 0 additions & 2 deletions tests/wpt/mozilla/meta/css/transition_calc_implicit.html.ini

This file was deleted.

Expand Up @@ -7,7 +7,7 @@
//
// --enable-blink-features=MojoJS,MojoJSTest
let loadChromiumResources = Promise.resolve().then(() => {
if (!MojoInterfaceInterceptor) {
if (!window.MojoInterfaceInterceptor) {
// Do nothing on non-Chromium-based browsers or when the Mojo bindings are
// not present in the global namespace.
return;
Expand Down Expand Up @@ -37,7 +37,10 @@ async function initialize_generic_sensor_tests() {
if (typeof GenericSensorTest === 'undefined') {
await loadChromiumResources;
}
assert_true(typeof GenericSensorTest !== 'undefined');
assert_true(
typeof GenericSensorTest !== 'undefined',
'Mojo testing interface is not available.'
);
let sensorTest = new GenericSensorTest();
await sensorTest.initialize();
return sensorTest;
Expand Down
4 changes: 3 additions & 1 deletion tests/wpt/web-platform-tests/interfaces/webaudio.idl
Expand Up @@ -551,9 +551,11 @@ dictionary WaveShaperOptions : AudioNodeOptions {
interface AudioWorklet : Worklet {
};

callback AudioWorkletProcessorConstructor = AudioWorkletProcessor (object options);

[Global=(Worklet, AudioWorklet), Exposed=AudioWorklet]
interface AudioWorkletGlobalScope : WorkletGlobalScope {
void registerProcessor (DOMString name, VoidFunction processorCtor);
void registerProcessor (DOMString name, AudioWorkletProcessorConstructor processorCtor);
readonly attribute unsigned long long currentFrame;
readonly attribute double currentTime;
readonly attribute float sampleRate;
Expand Down

0 comments on commit ecabb8b

Please sign in to comment.