Bug 1474739 - Part 1: Stop using XPT shims in any xpidl interfaces, r=bzbarsky
authorNika Layzell <nika@thelayzells.com>
Wed, 01 Aug 2018 15:11:24 -0400
changeset 429738 1a5c1ee48c9102ef8939bca79fa02686cea56b8e
parent 429737 2011dae40293da2aceba942e8c7d95d0a4dfffbf
child 429739 da7308cd7b0f1f50bde54e908ef86e2fdba2b792
push id34372
push usernerli@mozilla.com
push dateThu, 02 Aug 2018 08:55:28 +0000
treeherdermozilla-central@bd79b07f57a3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbzbarsky
bugs1474739
milestone63.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 1474739 - Part 1: Stop using XPT shims in any xpidl interfaces, r=bzbarsky Reviewers: bzbarsky! Tags: #secure-revision Bug #: 1474739 Differential Revision: https://phabricator.services.mozilla.com/D2624
dom/base/nsIMessageManager.idl
--- a/dom/base/nsIMessageManager.idl
+++ b/dom/base/nsIMessageManager.idl
@@ -2,24 +2,24 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsISupports.idl"
 
 interface nsIContent;
 
-[shim(MessageSender), shimfile(MessageManager),
- uuid(bb5d79e4-e73c-45e7-9651-4d718f4b994c)]
+// NOTE: Only scriptable for Ci.nsIMessageSender
+[scriptable, builtinclass, uuid(bb5d79e4-e73c-45e7-9651-4d718f4b994c)]
 interface nsIMessageSender : nsISupports
 {
 };
 
-[shim(ContentFrameMessageManager), shimfile(MessageManager),
- uuid(694e367c-aa25-4446-8499-2c527c4bd838)]
+// NOTE: Only scriptable for Ci.nsIContentFrameMessageManager
+[scriptable, builtinclass, uuid(694e367c-aa25-4446-8499-2c527c4bd838)]
 interface nsIContentFrameMessageManager : nsIMessageSender
 {
 };
 
 [uuid(b39a3324-b574-4f85-8cdb-274d04f807ef)]
 interface nsIInProcessContentFrameMessageManager : nsIContentFrameMessageManager
 {
   [notxpcom] nsIContent getOwnerContent();