Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync WPT with upstream (11-03-2020) #25947

Merged
merged 1 commit into from Mar 11, 2020
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Update web-platform-tests to revision 4cec5596c806088cd8f1781bdaab1d1…

…0abb72394
  • Loading branch information
servo-wpt-sync committed Mar 11, 2020
commit 57fbf230222ea94d4304b6d2886b30c5a41ace0a

Large diffs are not rendered by default.

@@ -0,0 +1,4 @@
[granted-devices-with-services.https.window.html]
[getDevices() resolves with permitted devices that can be GATT connected to.]
expected: FAIL

@@ -0,0 +1,4 @@
[no-granted-devices.https.window.html]
[getDevices() resolves with empty array if no device permissions have been granted.]
expected: FAIL

@@ -0,0 +1,4 @@
[returns-same-bluetooth-device-object.https.window.html]
[multiple calls to getDevices() resolves with the sameBluetoothDevice objects for each granted Bluetooth device.]
expected: FAIL

@@ -0,0 +1,4 @@
[idl-Bluetooth.https.html]
[Bluetooth IDL test]
expected: FAIL

This file was deleted.

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

[Hit test within unscaled box]
expected: FAIL

@@ -0,0 +1,4 @@
[CaretPosition-001.html]
[Element at (400, 100)]
expected: FAIL

This file was deleted.

@@ -21,6 +21,3 @@
[test the top of layer]
expected: FAIL

[test some point of the element: top left corner]
expected: FAIL

@@ -312,21 +312,24 @@
[fetch(): separate response Content-Type: text/plain ]
expected: NOTRUN

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

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

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

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

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

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

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

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

@@ -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%40%23%24%23%25%25%26%5E%26%5E*()()11!%2Cnosniff]
expected: FAIL

This file was deleted.

This file was deleted.

This file was deleted.

@@ -18,3 +18,6 @@
[Set HTTP URL frame location.protocol to ftp]
expected: FAIL

[Set data URL frame location.protocol to file]
expected: FAIL

@@ -4,7 +4,7 @@
expected: FAIL

[Element with tabindex should support autofocus]
expected: FAIL
expected: TIMEOUT

[Host element with delegatesFocus including no focusable descendants should be skipped]
expected: NOTRUN
@@ -16,5 +16,5 @@
expected: NOTRUN

[Non-HTMLElement should not support autofocus]
expected: TIMEOUT
expected: NOTRUN

@@ -1,6 +1,6 @@
[iframe_sandbox_popups_escaping-3.html]
type: testharness
expected: TIMEOUT
expected: CRASH
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT

@@ -2,9 +2,9 @@
[Importing a same-origin descendant script from a same-origin top-level script with the same-origin policy.]
expected: FAIL

[Importing a same-origin descendant script from a remote-origin top-level script with the same-origin policy.]
[Importing a same-origin top-level script with the same-origin policy.]
expected: FAIL

[Importing a same-origin top-level script with the same-origin policy.]
[Importing a remote-origin descendant script from a remote-origin top-level script with the same-origin policy.]
expected: FAIL

@@ -50,3 +50,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 40513 more errors.\n\tMax AbsError of 1.9999977350234985e+0 at index of 36821.\n\t[36821\]\t9.9999773502349854e-1\t-1.0000000000000000e+0\t1.9999977350234985e+0\t1.9999977350234985e+0\t3.0517578125000000e-5\n\tMax RelError of Infinity at index of 14112.\n\t[14112\]\t-9.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 40534 more errors.\n\tMax AbsError of 1.9986916780471802e+0 at index of 29020.\n\t[29020\]\t9.9994289875030518e-1\t-9.9874877929687500e-1\t1.9986916780471802e+0\t2.0011956154322119e+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

@@ -203,3 +203,6 @@
[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\]\t1.9926784238063802e-24\t5.6332010030746460e-1\t5.6332010030746460e-1\t1.0000000000000000e+0\t9.0957000000000003e-5\n\t[31081\]\t4.5629080595344693e-41\t6.1397600173950195e-1\t6.1397600173950195e-1\t1.0000000000000000e+0\t9.0957000000000003e-5\n\tMax AbsError of 6.1397600173950195e-1 at index of 31081.\n\tMax RelError of 1.0000000000000000e+0 at index of 31080.\n]
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\]\t7.7856257262238438e-27\t5.6332010030746460e-1\t5.6332010030746460e-1\t1.0000000000000000e+0\t9.0957000000000003e-5\n\t[31081\]\t4.5762203949455551e-41\t6.1397600173950195e-1\t6.1397600173950195e-1\t1.0000000000000000e+0\t9.0957000000000003e-5\n\tMax AbsError of 6.1397600173950195e-1 at index of 31081.\n\tMax RelError of 1.0000000000000000e+0 at index of 31080.\n]
expected: FAIL

@@ -140,3 +140,24 @@
[XRSystem interface: operation requestSession(XRSessionMode, optional XRSessionInit)]
expected: FAIL

[XRPermissionStatus interface: attribute granted]
expected: FAIL

[XRPermissionStatus interface object length]
expected: FAIL

[XRPermissionStatus interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[XRPermissionStatus interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL

[XRPermissionStatus interface object name]
expected: FAIL

[XRPermissionStatus interface: existence and properties of interface prototype object]
expected: FAIL

[XRPermissionStatus interface: existence and properties of interface object]
expected: FAIL

@@ -6,7 +6,7 @@
.pytest_cache/
.tox/
.virtualenv/
_venv/
_venv*/
_virtualenv/

# Node
@@ -9,11 +9,14 @@

<script>

var t = async_test("Delete an existing database");
var t = async_test("Delete an existing database"),
dbname = location + '-' + t.name;

t.step(function() {
indexedDB.deleteDatabase(dbname);

var db;
var openrq = indexedDB.open('db', 3);
var openrq = indexedDB.open(dbname, 3);

openrq.onupgradeneeded = function(e) {
e.target.result.createObjectStore('store');
@@ -36,7 +39,7 @@
});

function Second(e) {
var deleterq = indexedDB.deleteDatabase('db');
var deleterq = indexedDB.deleteDatabase(dbname);

deleterq.onsuccess = function(e) { t.done(); }

@@ -7,7 +7,9 @@

<script>
async_test(function(t) {
var open_rq = indexedDB.open("idbtransaction-" + document.location + t.name);
var dbname = "idbtransaction-" + document.location + t.name;
indexedDB.deleteDatabase(dbname);
var open_rq = indexedDB.open(dbname);

open_rq.onblocked = t.unreached_func('open_rq.onblocked');
open_rq.onerror = t.unreached_func('open_rq.onerror');
@@ -31,7 +33,9 @@
}, document.title + " - request gotten by the handler");

async_test(function(t) {
var open_rq = indexedDB.open("idbtransaction-" + document.location + t.name);
var dbname = "idbtransaction-" + document.location + t.name;
indexedDB.deleteDatabase(dbname);
var open_rq = indexedDB.open(dbname);

assert_equals(open_rq.transaction, null, "IDBOpenDBRequest.transaction");
assert_equals(open_rq.source, null, "IDBOpenDBRequest.source");
@@ -13,10 +13,13 @@
<script>

var db,
t = async_test();
t = async_test(),
dbname = location + '-' + t.name;

t.step(function() {
var openrq = indexedDB.open('db', 3);
indexedDB.deleteDatabase(dbname);

var openrq = indexedDB.open(dbname, 3);

openrq.onupgradeneeded = t.step_func(function(e) {
assert_equals(e.oldVersion, 0, "old version (upgradeneeded)");
@@ -48,7 +51,7 @@
});

function deleteDB (e) {
var deleterq = indexedDB.deleteDatabase('db');
var deleterq = indexedDB.deleteDatabase(dbname);

deleterq.onsuccess = t.step_func(function(e) {
assert_equals(e.result, undefined, "result (delete.success for nonexistent db)");
@@ -11,10 +11,13 @@

var db, db_got_versionchange, db2,
events = [],
t = async_test();
t = async_test(),
dbname = location + '-' + t.name;

t.step(function() {
var openrq = indexedDB.open('db', 3);
indexedDB.deleteDatabase(dbname);

var openrq = indexedDB.open(dbname, 3);

// 1
openrq.onupgradeneeded = t.step_func(function(e) {
@@ -55,7 +58,7 @@
assert_equals(db + "", "[object IDBDatabase]");
assert_array_equals(db.objectStoreNames, [ "store" ]);

var openrq2 = indexedDB.open('db', 4);
var openrq2 = indexedDB.open(dbname, 4);

// 4
openrq2.onblocked = t.step_func(function(e) {
@@ -102,7 +105,7 @@
// Cleanup
add_completion_callback(function(tests) {
if (db2) db2.close();
indexedDB.deleteDatabase('db');
indexedDB.deleteDatabase(dbname);
})

</script>
@@ -11,10 +11,13 @@

var db, db_got_versionchange, db2,
events = [],
t = async_test();
t = async_test(),
dbname = location + '-' + t.name;

t.step(function() {
var openrq = indexedDB.open('db', 3);
indexedDB.deleteDatabase(dbname);

var openrq = indexedDB.open(dbname, 3);

// 1
openrq.onupgradeneeded = t.step_func(function(e) {
@@ -55,7 +58,7 @@
assert_equals(db + "", "[object IDBDatabase]");
assert_array_equals(db.objectStoreNames, [ "store" ]);

var openrq2 = indexedDB.open('db', 4);
var openrq2 = indexedDB.open(dbname, 4);

// 4
openrq2.onupgradeneeded = t.step_func(function(e) {
@@ -95,7 +98,7 @@
// Cleanup
add_completion_callback(function(tests) {
if (db2) db2.close();
indexedDB.deleteDatabase('db');
indexedDB.deleteDatabase(dbname);
})

</script>
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.