Skip to content

Commit

Permalink
[webnfc] Fix wpt NFCWriter_push.https.html.
Browse files Browse the repository at this point in the history
Bug: 520391

Change-Id: Ica3bc5d021cf406e6c0743ed5691b6475e3151ca
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1625792
Reviewed-by: Rijubrata Bhaumik <[email protected]>
Commit-Queue: Leon Han <[email protected]>
Auto-Submit: Leon Han <[email protected]>
Cr-Commit-Position: refs/heads/master@{#662567}
  • Loading branch information
Leon Han authored and chromium-wpt-export-bot committed May 23, 2019
1 parent 2c7601a commit 137ac6d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions web-nfc/NFCWriter_push.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,7 @@
promise_rejects(t, new TypeError(), writer.push({
url: invalid_url,
records: [{ recordType: "text", data: 'Hello World' }]
}));
);
})));
});
return Promise.all(promises);
}, "Test that promise is rejected with TypeError if NDEFMessageSource contains non-string url.");
Expand All @@ -242,8 +241,7 @@
promise_rejects(t, new TypeError(), writer.push({
serialNumber: invalid_serialNumber,
records: [{ recordType: "text", data: 'Hello World' }]
}));
);
})));
});
return Promise.all(promises);
}, "Test that promise is rejected with TypeError if NDEFMessageSource contains non-string serialNumber.");
Expand Down

0 comments on commit 137ac6d

Please sign in to comment.