diff --git a/testing/web-platform/meta/web-locks/frames.tentative.https.html.ini b/testing/web-platform/meta/web-locks/frames.tentative.https.html.ini index 1197d867ed38..f259eff8f0d8 100644 --- a/testing/web-platform/meta/web-locks/frames.tentative.https.html.ini +++ b/testing/web-platform/meta/web-locks/frames.tentative.https.html.ini @@ -1,23 +1,22 @@ [frames.tentative.https.html] - expected: TIMEOUT [Window and Frame - shared mode] - expected: TIMEOUT + expected: FAIL [Window and Frame - exclusive mode] - expected: NOTRUN + expected: FAIL [Frame and Frame - exclusive mode] - expected: NOTRUN + expected: FAIL [Terminated Frame with held lock] - expected: NOTRUN + expected: FAIL [Navigated Frame with held lock] - expected: NOTRUN + expected: FAIL [Navigated Frame with pending request] - expected: NOTRUN + expected: FAIL [Removed Frame with pending request] - expected: NOTRUN + expected: FAIL diff --git a/testing/web-platform/meta/web-locks/query-ordering.tentative.https.html.ini b/testing/web-platform/meta/web-locks/query-ordering.tentative.https.html.ini index 99cf293ac0f4..57f0a6dcf0d3 100644 --- a/testing/web-platform/meta/web-locks/query-ordering.tentative.https.html.ini +++ b/testing/web-platform/meta/web-locks/query-ordering.tentative.https.html.ini @@ -1,5 +1,4 @@ [query-ordering.tentative.https.html] - expected: TIMEOUT [Requests appear in state in order made.] - expected: TIMEOUT + expected: FAIL diff --git a/testing/web-platform/meta/web-locks/workers.tentative.https.html.ini b/testing/web-platform/meta/web-locks/workers.tentative.https.html.ini index 6ba13a75c84c..0ac4af39b8ca 100644 --- a/testing/web-platform/meta/web-locks/workers.tentative.https.html.ini +++ b/testing/web-platform/meta/web-locks/workers.tentative.https.html.ini @@ -1,14 +1,13 @@ [workers.tentative.https.html] - expected: ERROR [Window and Worker - shared mode] - expected: TIMEOUT + expected: FAIL [Window and Worker - exclusive mode] - expected: NOTRUN + expected: FAIL [Worker and Worker - exclusive mode] - expected: NOTRUN + expected: FAIL [Terminated Worker - exclusive mode] - expected: NOTRUN + expected: FAIL diff --git a/testing/web-platform/tests/web-locks/clientids.tentative.https.html b/testing/web-platform/tests/web-locks/clientids.tentative.https.html index 9ce4c4e9d184..02dabfa606ad 100644 --- a/testing/web-platform/tests/web-locks/clientids.tentative.https.html +++ b/testing/web-platform/tests/web-locks/clientids.tentative.https.html @@ -17,6 +17,7 @@ function nextMessage() { } promise_test(async t => { + assert_implements(navigator.locks); const iframe_url = 'resources/sw-controlled-iframe.html'; // Register a service worker that will control an iframe. diff --git a/testing/web-platform/tests/web-locks/frames.tentative.https.html b/testing/web-platform/tests/web-locks/frames.tentative.https.html index 7d8383cffc18..84760f2f4057 100644 --- a/testing/web-platform/tests/web-locks/frames.tentative.https.html +++ b/testing/web-platform/tests/web-locks/frames.tentative.https.html @@ -10,6 +10,7 @@ 'use strict'; promise_test(async t => { + assert_implements(navigator.locks); const res = uniqueName(t); const frame = await iframe('resources/iframe.html'); @@ -25,6 +26,7 @@ promise_test(async t => { }, 'Window and Frame - shared mode'); promise_test(async t => { + assert_implements(navigator.locks); const res = uniqueName(t); const frame = await iframe('resources/iframe.html'); @@ -54,6 +56,7 @@ promise_test(async t => { }, 'Window and Frame - exclusive mode'); promise_test(async t => { + assert_implements(navigator.locks); const res = uniqueName(t); const frame1 = await iframe('resources/iframe.html'); @@ -86,6 +89,7 @@ promise_test(async t => { }, 'Frame and Frame - exclusive mode'); promise_test(async t => { + assert_implements(navigator.locks); const res = uniqueName(t); const frame = await iframe('resources/iframe.html'); @@ -114,6 +118,7 @@ promise_test(async t => { }, 'Terminated Frame with held lock'); promise_test(async t => { + assert_implements(navigator.locks); const res = uniqueName(t); const frame = await iframe('resources/iframe.html'); @@ -142,6 +147,7 @@ promise_test(async t => { }, 'Navigated Frame with held lock'); promise_test(async t => { + assert_implements(navigator.locks); const res = uniqueName(t); // frame1 requests and holds res - should be granted immediately. @@ -190,6 +196,7 @@ promise_test(async t => { }, 'Navigated Frame with pending request'); promise_test(async t => { + assert_implements(navigator.locks); const res = uniqueName(t); // frame1 requests and holds res - should be granted immediately. diff --git a/testing/web-platform/tests/web-locks/query-ordering.tentative.https.html b/testing/web-platform/tests/web-locks/query-ordering.tentative.https.html index bbbee3880b7c..172a1db87b7d 100644 --- a/testing/web-platform/tests/web-locks/query-ordering.tentative.https.html +++ b/testing/web-platform/tests/web-locks/query-ordering.tentative.https.html @@ -42,6 +42,7 @@ function nextMessage() { // distinguishable client_ids (otherwise it would not be possible to // distinguish the requests and thus impossible to verify ordering). promise_test(async testCase => { + assert_implements(navigator.locks); const resourceName = uniqueName(testCase); // Set up clients. diff --git a/testing/web-platform/tests/web-locks/workers.tentative.https.html b/testing/web-platform/tests/web-locks/workers.tentative.https.html index 04af72c8ad04..f1f11c603a4d 100644 --- a/testing/web-platform/tests/web-locks/workers.tentative.https.html +++ b/testing/web-platform/tests/web-locks/workers.tentative.https.html @@ -9,6 +9,7 @@ 'use strict'; promise_test(async t => { + assert_implements(navigator.locks); const worker = new Worker('resources/worker.js'); t.add_cleanup(() => { worker.terminate(); }); @@ -24,6 +25,7 @@ promise_test(async t => { }, 'Window and Worker - shared mode'); promise_test(async t => { + assert_implements(navigator.locks); const worker = new Worker('resources/worker.js'); t.add_cleanup(() => { worker.terminate(); }); @@ -55,6 +57,7 @@ promise_test(async t => { }, 'Window and Worker - exclusive mode'); promise_test(async t => { + assert_implements(navigator.locks); const worker1 = new Worker('resources/worker.js'); const worker2 = new Worker('resources/worker.js'); t.add_cleanup(() => { worker1.terminate(); worker2.terminate(); }); @@ -87,6 +90,7 @@ promise_test(async t => { }, 'Worker and Worker - exclusive mode'); promise_test(async t => { + assert_implements(navigator.locks); const worker = new Worker('resources/worker.js'); const res = 'exclusive resource 3';