Bug 1582704 [wpt PR 19184] - Convert ContactsManager client to use BrowserInterfaceBroker, a=testonly
authorMiyoung Shin <myid.shin@igalia.com>
Wed, 25 Sep 2019 16:56:24 +0000
changeset 495246 deb6690654cab0000c573d44c7171a65bb1c17d6
parent 495245 48b66f42260bb3fc0a0c61bc7aff6a0a45420c46
child 495247 cad058af64f87fc294bdec1b5c27c809d369133f
push id36625
push userbtara@mozilla.com
push dateFri, 27 Sep 2019 09:48:17 +0000
treeherdermozilla-central@aa8f530a1a35 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1582704, 19184, 936482, 1815925, 699281
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 1582704 [wpt PR 19184] - Convert ContactsManager client to use BrowserInterfaceBroker, a=testonly Automatic update from web-platform-tests Convert ContactsManager client to use BrowserInterfaceBroker This change converts ContactsManager mojom interface client in blink to use BrowserInterfaceBroker. Bug: 936482 Change-Id: I9fbce895d342faa2de8d9be6fa66d8198820f5b1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1815925 Reviewed-by: Oksana Zhuravlova <oksamyt@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: Miyoung Shin <myid.shin@igalia.com> Cr-Commit-Position: refs/heads/master@{#699281} -- wpt-commits: 8488b4e1c0078170f982356116caba9bb17d8efc wpt-pr: 19184
testing/web-platform/tests/resources/chromium/contacts_manager_mock.js
--- a/testing/web-platform/tests/resources/chromium/contacts_manager_mock.js
+++ b/testing/web-platform/tests/resources/chromium/contacts_manager_mock.js
@@ -5,17 +5,17 @@
 'use strict';
 
 const WebContactsTest = (() => {
   class MockContacts {
     constructor() {
       this.bindingSet_ = new mojo.BindingSet(blink.mojom.ContactsManager);
 
       this.interceptor_ = new MojoInterfaceInterceptor(
-        blink.mojom.ContactsManager.name);
+        blink.mojom.ContactsManager.name, "context", true);
       this.interceptor_.oninterfacerequest =
           e => this.bindingSet_.addBinding(this, e.handle);
       this.interceptor_.start();
 
       this.selectedContacts_ = [];
     }
 
     async select(multiple, includeNames, includeEmails, includeTel) {