Bug 1512130 [wpt PR 14371] - Update interfaces/web-nfc.idl, a=testonly
authorautofoolip <auto@foolip.org>
Thu, 13 Dec 2018 13:57:32 +0000
changeset 450676 34b92cef3552f78a2d8ddc2cb85e26f47c87c8f5
parent 450675 9d7bbdbb5355477b3856f197a0cf7f1a83a9bbe2
child 450677 b42297cc59f967be0fd0abe8303b8b3182389966
push id35208
push usercsabou@mozilla.com
push dateSat, 15 Dec 2018 02:48:07 +0000
treeherdermozilla-central@d86d184dc7d6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1512130, 14371
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 1512130 [wpt PR 14371] - Update interfaces/web-nfc.idl, a=testonly Automatic update from web-platform-tests Update interfaces/web-nfc.idl (#14371) Source: https://github.com/tidoust/reffy-reports/blob/81fd807/whatwg/idl/web-nfc.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/463710129 -- wpt-commits: e298bbf529549e8e3d4380af2a26851453e4c3dc wpt-pr: 14371
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
@@ -23,22 +23,22 @@ enum NFCRecordType {
   "json",
   "opaque"
 };
 
 partial interface Navigator {
   [SecureContext, SameObject] readonly attribute NFC nfc;
 };
 
-typedef (DOMString or ArrayBuffer or NFCMessage) NFCPushMessage;
+typedef (DOMString or ArrayBuffer or NFCMessage) NFCMessageSource;
 
 [SecureContext]
 interface NFC {
-  Promise<void> push(NFCPushMessage message, optional NFCPushOptions options);
-  Promise<long> watch(MessageCallback callback, optional NFCWatchOptions options);
+  Promise<void> push(NFCMessageSource message, optional NFCPushOptions options);
+  Promise<void> watch(MessageCallback callback, optional NFCWatchOptions options);
 };
 
 callback MessageCallback = void (NFCMessage message);
 
 dictionary NFCPushOptions {
   NFCPushTarget target = "any";
   unrestricted double timeout = Infinity;
   boolean ignoreRead = true;