Bug 1542790 - Part 3: Make nsIDOMMozBrowserFrame builtinclass, r=bzbarsky
authorNika Layzell <nika@thelayzells.com>
Wed, 17 Apr 2019 00:53:12 +0000
changeset 469828 4a3f5fbd5011ed794673c000a0e369393b435e43
parent 469827 607e1bc95c9bd82cbf4dc5426cfa66147f1d9458
child 469829 f29d6ec6c75ac55068ee6ac20fc5440a98470891
push id35883
push userbtara@mozilla.com
push dateWed, 17 Apr 2019 21:47:29 +0000
treeherdermozilla-central@02b89c29412b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbzbarsky
bugs1542790
milestone68.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 1542790 - Part 3: Make nsIDOMMozBrowserFrame builtinclass, r=bzbarsky Differential Revision: https://phabricator.services.mozilla.com/D27514
dom/interfaces/html/nsIDOMMozBrowserFrame.idl
--- a/dom/interfaces/html/nsIDOMMozBrowserFrame.idl
+++ b/dom/interfaces/html/nsIDOMMozBrowserFrame.idl
@@ -2,26 +2,26 @@
 /* vim:set tw=80 expandtab softtabstop=2 ts=2 sw=2: */
 
 /* 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"
 
-[scriptable, uuid(4CAFE116-581B-4194-B0DE-7F02378FC51D)]
+[scriptable, builtinclass, uuid(4CAFE116-581B-4194-B0DE-7F02378FC51D)]
 interface nsIDOMMozBrowserFrame : nsISupports
 {
   /**
    * <iframe> element may have the mozbrowser attribute.
    *
    * The mozbrowser attribute has no effect unless the <iframe> element is
    * contained in a document privileged to create browser frames.
    *
    * An <iframe> element in a privileged document with the mozbrowser attribute
    * emits a variety of events when various things happen inside the frame.
    *
    * This will be documented eventually, but for more information at the moment,
    * see dom/browser-element/BrowserElement{Child,Parent}.js.
    *
    */
-  attribute boolean mozbrowser;
+  [infallible] attribute boolean mozbrowser;
 };