Update web-platform-tests to revision ef625c6ac28d0ac07ef0c62a6f22c10d14a2623a

This commit is contained in:
WPT Sync Bot 2019-01-23 21:00:43 -05:00
parent 5b41c01bdc
commit bd01f2fabd
125 changed files with 3871 additions and 323 deletions

View file

@ -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');