Bug 1330822 - Remove CPOWs from browser_usercontext.js. r=Gijs
authorBlake Kaplan <mrbkap@gmail.com>
Thu, 12 Jan 2017 15:33:05 -0800
changeset 377276 46b7136b8790630322141034c03deb5bc51a1867
parent 377275 f0e76631e0eb450d7a10a5474a4b25c057033377
child 377277 79079769f4c9f345a8f7fdc6f878247135280e2c
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1330822
milestone53.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 1330822 - Remove CPOWs from browser_usercontext.js. r=Gijs MozReview-Commit-ID: 6gFJKF76ZDE
browser/components/contextualidentity/test/browser/browser_usercontext.js
--- a/browser/components/contextualidentity/test/browser/browser_usercontext.js
+++ b/browser/components/contextualidentity/test/browser/browser_usercontext.js
@@ -64,17 +64,17 @@ add_task(function* test() {
 
     let tab = openTabInUserContext(BASE_URI, userContextId);
 
     // wait for load
     let browser = gBrowser.getBrowserForTab(tab);
     yield BrowserTestUtils.browserLoaded(browser);
 
     // get the title
-    let title = browser.contentDocument.title.trim().split("|");
+    let title = browser.contentTitle.trim().split("|");
 
     // check each item in the title and validate it meets expectatations
     for (let part of title) {
       let [storageMethodName, value] = part.split("=");
       is(value, expectedContext,
             "the title reflects the expected contextual identity of " +
             expectedContext + " for method " + storageMethodName + ": " + value);
     }