Bug 1583404 [wpt PR 19236] - Convert NFC client to use BrowserInterfaceBroker, a=testonly
authorMiyoung Shin <myid.shin@igalia.com>
Fri, 27 Sep 2019 16:55:39 +0000
changeset 495591 269f84dea1f023480d5efb5e39864c421c8dc183
parent 495590 43f0dd99ce6ba62d48005d13c7e51d7376646146
child 495592 84f8a7e73a025b7cb5eba6426452b830b2d07b8c
push id114135
push userwptsync@mozilla.com
push dateMon, 30 Sep 2019 14:12:42 +0000
treeherdermozilla-inbound@99895cb320b0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1583404, 19236, 936482, 1818888, 700212
milestone71.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 1583404 [wpt PR 19236] - Convert NFC client to use BrowserInterfaceBroker, a=testonly Automatic update from web-platform-tests Convert NFC client to use BrowserInterfaceBroker This change converts NFC mojom interface client in blink to use BrowserInterfaceBroker. Bug: 936482 Change-Id: I68bb4edbfbf0694ffe3f694bbd8c937dc70c006c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1818888 Commit-Queue: Miyoung Shin <myid.shin@igalia.com> Reviewed-by: Oksana Zhuravlova <oksamyt@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Cr-Commit-Position: refs/heads/master@{#700212} -- wpt-commits: fea7f6d3473899b0828290e1e7f3db68682431d8 wpt-pr: 19236
testing/web-platform/tests/resources/chromium/nfc-mock.js
--- a/testing/web-platform/tests/resources/chromium/nfc-mock.js
+++ b/testing/web-platform/tests/resources/chromium/nfc-mock.js
@@ -156,17 +156,17 @@ function createNFCError(type) {
 }
 
 var WebNFCTest = (() => {
   class MockNFC {
     constructor() {
       this.bindingSet_ = new mojo.BindingSet(device.mojom.NFC);
 
       this.interceptor_ = new MojoInterfaceInterceptor(
-          device.mojom.NFC.name);
+          device.mojom.NFC.name, "context", true);
       this.interceptor_.oninterfacerequest =
           e => this.bindingSet_.addBinding(this, e.handle);
       this.interceptor_.start();
 
       this.hw_status_ = NFCHWStatus.ENABLED;
       this.pushed_message_ = null;
       this.push_options_ = null;
       this.pending_promise_func_ = null;