Backed out changeset 889eb9b46665 (bug 1291737)
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Thu, 19 Jan 2017 16:59:23 +0100
changeset 375180 2d8e2075c43401ccef4b7041bc09817ff83e1e70
parent 375179 b80cc52e20586da3a85341049712f9c928c713d5
child 375181 7a14625f2b876dd65e417ded37693faba04fc53c
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1291737
milestone53.0a1
backs out889eb9b46665dda6b7887921a8d8894db544c709
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
Backed out changeset 889eb9b46665 (bug 1291737)
toolkit/components/extensions/ExtensionChild.jsm
--- a/toolkit/components/extensions/ExtensionChild.jsm
+++ b/toolkit/components/extensions/ExtensionChild.jsm
@@ -898,19 +898,19 @@ defineLazyGetter(ExtensionPageContextChi
 
   if (this.viewType == "background") {
     apiManager.global.initializeBackgroundPage(this.contentWindow);
   }
 
   return childManager;
 });
 
-class DevToolsContextChild extends ExtensionBaseContextChild {
+class DevtoolsContextChild extends ExtensionBaseContextChild {
   /**
-   * This DevToolsContextChild represents a devtools-related addon execution
+   * This DevtoolsContextChild represents a devtools-related addon execution
    * environment that has access to the devtools API namespace and to the same subset
    * of APIs available in a content script execution environment.
    *
    * @param {BrowserExtensionContent} extension This context's owner.
    * @param {object} params
    * @param {nsIDOMWindow} params.contentWindow The window where the addon runs.
    * @param {string} params.viewType One of "devtools_page" or "devtools_panel".
    * @param {object} [params.devtoolsToolboxInfo] This devtools toolbox's information,
@@ -925,17 +925,17 @@ class DevToolsContextChild extends Exten
   }
 
   unload() {
     super.unload();
     this.extension.devtoolsViews.delete(this);
   }
 }
 
-defineLazyGetter(DevToolsContextChild.prototype, "childManager", function() {
+defineLazyGetter(DevtoolsContextChild.prototype, "childManager", function() {
   let localApis = {};
   devtoolsAPIManager.generateAPIs(this, localApis);
 
   let childManager = new ChildAPIManager(this, this.messageManager, localApis, {
     envType: "devtools_parent",
     viewType: this.viewType,
     url: this.uri.spec,
     incognito: this.incognito,
@@ -1086,17 +1086,17 @@ ExtensionChild = {
                           .QueryInterface(Ci.nsIInterfaceRequestor)
                           .getInterface(Ci.nsIContentFrameMessageManager);
 
     let {viewType, tabId, devtoolsToolboxInfo} = this.contentGlobals.get(mm).ensureInitialized();
 
     let uri = contentWindow.document.documentURIObject;
 
     if (devtoolsToolboxInfo) {
-      context = new DevToolsContextChild(extension, {
+      context = new DevtoolsContextChild(extension, {
         viewType, contentWindow, uri, tabId, devtoolsToolboxInfo,
       });
     } else {
       context = new ExtensionPageContextChild(extension, {viewType, contentWindow, uri, tabId});
     }
 
     this.extensionContexts.set(windowId, context);
   },