Bug 1578304 - Correctly set content title from onLocationChange event r=Ehsan a=lizzard
authorBarret Rennie <barret@brennie.ca>
Mon, 07 Oct 2019 19:13:23 +0000
changeset 555598 5f0abbc35dd139df5b7c66da12808e9c63ac47a8
parent 555597 502e28e5b6570ab1374b76aecef223c247c5aaa5
child 555599 dc6cacfca92e92193fb0ce55b0a85b3e16a5eca6
push id2165
push userffxbld-merge
push dateMon, 14 Oct 2019 16:30:58 +0000
treeherdermozilla-release@0eae18af659f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersEhsan, lizzard
bugs1578304
milestone70.0
Bug 1578304 - Correctly set content title from onLocationChange event r=Ehsan a=lizzard Differential Revision: https://phabricator.services.mozilla.com/D48413
toolkit/content/widgets/browser-custom-element.js
--- a/toolkit/content/widgets/browser-custom-element.js
+++ b/toolkit/content/widgets/browser-custom-element.js
@@ -1586,17 +1586,17 @@
         }
 
         if (aContentType != null) {
           this._documentContentType = aContentType;
         }
 
         this._remoteWebNavigationImpl._currentURI = aLocation;
         this._documentURI = aDocumentURI;
-        this._contentTile = aTitle;
+        this._contentTitle = aTitle;
         this._imageDocument = null;
         this._contentPrincipal = aContentPrincipal;
         this._contentStoragePrincipal = aContentStoragePrincipal;
         this._contentBlockingAllowListPrincipal = aContentBlockingAllowListPrincipal;
         this._csp = aCSP;
         this._referrerInfo = aReferrerInfo;
         this._isSyntheticDocument = aIsSynthetic;
         this._innerWindowID = aInnerWindowID;