Skip to content

Commit

Permalink
[Background Fetch] Miscellaneous cleanups.
Browse files Browse the repository at this point in the history
1. A check for state needs to be removed from a WPT test, since we've removed this
attribute from the BackgroundFetchRegistration object.
2. Update calls in matchImpl() from resolver->Reject to ScriptState::RejectWithDOMException.

Change-Id: Ie979ad3675ac7d093ae908604e683802db8115a0
Reviewed-on: https://chromium-review.googlesource.com/1230713
Reviewed-by: Peter Beverloo <peter@chromium.org>
Commit-Queue: Mugdha Lakhani <nator@chromium.org>
Cr-Commit-Position: refs/heads/master@{#592050}
  • Loading branch information
Mugdha Lakhani authored and foolip committed Sep 20, 2018
1 parent 5e4f807 commit 8abd5d0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion background-fetch/fetch.https.window.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ backgroundFetchTest(async (test, backgroundFetch) => {
assert_equals(results.length, 1);

assert_equals(eventRegistration.id, registration.id);
assert_equals(eventRegistration.state, 'success');
assert_equals(eventRegistration.failureReason, '');

for (const result of results) {
Expand Down

0 comments on commit 8abd5d0

Please sign in to comment.