mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Update web-platform-tests to revision 2b7dace05fc1869398ee24f84fda4c0e4c0455ae
This commit is contained in:
parent
b23125d590
commit
6c901de216
844 changed files with 19802 additions and 3093 deletions
|
@ -0,0 +1,13 @@
|
|||
// META: title=StorageManager: multiple estimate() calls in parallel
|
||||
|
||||
promise_test(async t => {
|
||||
let r1, r2;
|
||||
await Promise.all([
|
||||
navigator.storage.estimate().then(r => { r1 = r; }),
|
||||
navigator.storage.estimate().then(r => { r2 = r; })
|
||||
]);
|
||||
assert_true(('usage' in r1) && ('quota' in r1),
|
||||
'first response should have expected fields');
|
||||
assert_true(('usage' in r2) && ('quota' in r2),
|
||||
'second response should have expected fields');
|
||||
}, 'Multiple estimate() calls in parallel should complete');
|
Loading…
Add table
Add a link
Reference in a new issue