Bug 1127393 - removed three now-unused helper functions for handling the window and document as CPOWs; r=mconley
authorAlex Gaynor <agaynor@mozilla.com>
Wed, 17 Oct 2018 15:47:28 +0000
changeset 500197 b94a2aa50ef2a049dace3fb54fbaf825c6503a25
parent 500196 7dfafc01cf471ed9985443d9d370ad5a00852ac8
child 500255 c29585c36177f6c1fa00049c519f89b12bd779e3
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley
bugs1127393
milestone64.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 1127393 - removed three now-unused helper functions for handling the window and document as CPOWs; r=mconley Differential Revision: https://phabricator.services.mozilla.com/D8985
browser/base/content/tabbrowser.js
toolkit/content/widgets/editor.js
--- a/browser/base/content/tabbrowser.js
+++ b/browser/base/content/tabbrowser.js
@@ -401,36 +401,28 @@ window._gBrowser = {
   get webProgress() {
     return this.selectedBrowser.webProgress;
   },
 
   get contentWindow() {
     return this.selectedBrowser.contentWindow;
   },
 
-  get contentWindowAsCPOW() {
-    return this.selectedBrowser.contentWindowAsCPOW;
-  },
-
   get sessionHistory() {
     return this.selectedBrowser.sessionHistory;
   },
 
   get markupDocumentViewer() {
     return this.selectedBrowser.markupDocumentViewer;
   },
 
   get contentDocument() {
     return this.selectedBrowser.contentDocument;
   },
 
-  get contentDocumentAsCPOW() {
-    return this.selectedBrowser.contentDocumentAsCPOW;
-  },
-
   get contentTitle() {
     return this.selectedBrowser.contentTitle;
   },
 
   get contentPrincipal() {
     return this.selectedBrowser.contentPrincipal;
   },
 
--- a/toolkit/content/widgets/editor.js
+++ b/toolkit/content/widgets/editor.js
@@ -80,20 +80,16 @@ class MozEditor extends XULFrameElement 
   get editortype() {
     return this.getAttribute("editortype");
   }
 
   get currentURI() {
     return this.webNavigation.currentURI;
   }
 
-  get contentWindowAsCPOW() {
-    return this.contentWindow;
-  }
-
   get webBrowserFind() {
     return this.docShell.QueryInterface(Ci.nsIInterfaceRequestor)
                         .getInterface(Ci.nsIWebBrowserFind);
   }
 
   get markupDocumentViewer() {
     return this.docShell.contentViewer;
   }