mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 8f8ff0e2a61f2a24996404921fe853cb1fd9b432
This commit is contained in:
parent
e98cd07910
commit
141a52794b
58 changed files with 1615 additions and 276 deletions
|
@ -43,6 +43,7 @@ backgroundFetchTest(async (test, backgroundFetch) => {
|
|||
assert_equals(registration.downloadTotal, 1234);
|
||||
assert_equals(registration.result, '');
|
||||
assert_equals(registration.failureReason, '');
|
||||
assert_true(registration.recordsAvailable);
|
||||
// Skip `downloaded`, as the transfer may have started already.
|
||||
|
||||
const secondRegistration = await backgroundFetch.get(registrationId);
|
||||
|
@ -52,6 +53,8 @@ backgroundFetchTest(async (test, backgroundFetch) => {
|
|||
assert_equals(secondRegistration.uploadTotal, registration.uploadTotal);
|
||||
assert_equals(secondRegistration.uploaded, registration.uploaded);
|
||||
assert_equals(secondRegistration.downloadTotal, registration.downloadTotal);
|
||||
assert_equals(secondRegistration.failureReason, registration.failureReason);
|
||||
assert_equals(secondRegistration.recordsAvailable, registration.recordsAvailable);
|
||||
|
||||
// While the transfer might have started, both BackgroundFetchRegistration
|
||||
// objects should have the latest progress values.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue