Bug 1510645 [wpt PR 14277] - Update interfaces/web-nfc.idl, a=testonly
☠☠ backed out by fb94ec981a7d ☠ ☠
authorautofoolip <auto@foolip.org>
Fri, 30 Nov 2018 18:05:35 +0000
changeset 449913 341d1454a719752388a6b34b194e55a25e6a610f
parent 449912 7c40a661e06a83df255afd0b0fa2f8a3b194829f
child 449914 bea20d1644f81d0f45a8527f1c9fad4cca99c3a5
push id35187
push userncsoregi@mozilla.com
push dateTue, 11 Dec 2018 16:25:40 +0000
treeherdermozilla-central@a02122d22c5e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1510645, 14277
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1510645 [wpt PR 14277] - Update interfaces/web-nfc.idl, a=testonly Automatic update from web-platform-tests Update interfaces/web-nfc.idl (#14277) Source: https://github.com/tidoust/reffy-reports/blob/6f59720/whatwg/idl/web-nfc.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/460633569 -- wpt-commits: b608c953d49d3b0dc2c974034fff043c7e15b6dc wpt-pr: 14277
testing/web-platform/tests/interfaces/web-nfc.idl
--- a/testing/web-platform/tests/interfaces/web-nfc.idl
+++ b/testing/web-platform/tests/interfaces/web-nfc.idl
@@ -30,17 +30,16 @@ partial interface Navigator {
 
 typedef (DOMString or ArrayBuffer or NFCMessage) NFCPushMessage;
 
 [SecureContext]
 interface NFC {
   Promise<void> push(NFCPushMessage message, optional NFCPushOptions options);
   Promise<void> cancelPush(optional NFCPushTarget target = "any");
   Promise<long> watch(MessageCallback callback, optional NFCWatchOptions options);
-  Promise<void> cancelWatch(optional long id);
 };
 
 callback MessageCallback = void (NFCMessage message);
 
 dictionary NFCPushOptions {
   NFCPushTarget target = "any";
   unrestricted double timeout = Infinity;
   boolean ignoreRead = true;
@@ -52,14 +51,15 @@ enum NFCPushTarget {
   "any"
 };
 
 dictionary NFCWatchOptions {
   USVString url = "";
   NFCRecordType recordType;
   USVString mediaType = "";
   NFCWatchMode mode = "web-nfc-only";
+  AbortSignal? signal;
 };
 
 enum NFCWatchMode {
   "web-nfc-only",
   "any"
 };