mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests to revision ef625c6ac28d0ac07ef0c62a6f22c10d14a2623a
This commit is contained in:
parent
5b41c01bdc
commit
bd01f2fabd
125 changed files with 3871 additions and 323 deletions
|
@ -50,8 +50,10 @@ promise_test(async t => {
|
|||
|
||||
// Verify the request is enqueued:
|
||||
const state = await navigator.locks.query();
|
||||
assert_equals(state.held.filter(lock => lock.name === res).length, 1);
|
||||
assert_equals(state.pending.filter(lock => lock.name === res).length, 1);
|
||||
assert_equals(state.held.filter(lock => lock.name === res).length, 1,
|
||||
'Number of held locks');
|
||||
assert_equals(state.pending.filter(lock => lock.name === res).length, 1,
|
||||
'Number of pending locks');
|
||||
|
||||
const rejected = promise_rejects(
|
||||
t, 'AbortError', promise, 'Request should reject with AbortError');
|
||||
|
@ -76,8 +78,10 @@ promise_test(async t => {
|
|||
|
||||
// Verify the request is enqueued:
|
||||
const state = await navigator.locks.query();
|
||||
assert_equals(state.held.filter(lock => lock.name === res).length, 1);
|
||||
assert_equals(state.pending.filter(lock => lock.name === res).length, 1);
|
||||
assert_equals(state.held.filter(lock => lock.name === res).length, 1,
|
||||
'Number of held locks');
|
||||
assert_equals(state.pending.filter(lock => lock.name === res).length, 1,
|
||||
'Number of pending locks');
|
||||
|
||||
const rejected = promise_rejects(
|
||||
t, 'AbortError', promise, 'Request should reject with AbortError');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue