Skip to content

Commit 950a3c6

Browse files
author
Sandor Molnar
committed
Backed out 3 changesets (bug 1852963) for causing remote failures on remote/shared/messagehandler/test/browser/browser_session_data.js CLOSED TREE
Backed out changeset 98de7bc404c3 (bug 1852963) Backed out changeset edf1527c9a99 (bug 1852963) Backed out changeset 34357750f69c (bug 1852963)
1 parent 4bd577f commit 950a3c6

File tree

621 files changed

+1011
-1470
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

621 files changed

+1011
-1470
lines changed

accessible/tests/browser/events/browser_test_docload.js

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async function runTests(browser, accDoc) {
4343
],
4444
});
4545

46-
BrowserTestUtils.startLoadingURIString(
46+
BrowserTestUtils.loadURIString(
4747
browser,
4848
`data:text/html;charset=utf-8,
4949
<html><body id="body2">
@@ -59,7 +59,7 @@ async function runTests(browser, accDoc) {
5959
[EVENT_REORDER, getAccessible(browser)],
6060
]);
6161

62-
BrowserTestUtils.startLoadingURIString(browser, "about:about");
62+
BrowserTestUtils.loadURIString(browser, "about:about");
6363

6464
await onLoadEvents;
6565

@@ -79,7 +79,7 @@ async function runTests(browser, accDoc) {
7979
[EVENT_REORDER, getAccessible(browser)],
8080
]);
8181

82-
BrowserTestUtils.startLoadingURIString(browser, "about:mozilla");
82+
BrowserTestUtils.loadURIString(browser, "about:mozilla");
8383

8484
await onLoadEvents;
8585

@@ -100,11 +100,8 @@ async function runTests(browser, accDoc) {
100100
[EVENT_REORDER, getAccessible(browser)],
101101
]);
102102

103-
BrowserTestUtils.startLoadingURIString(
104-
browser,
105-
// eslint-disable-next-line @microsoft/sdl/no-insecure-url
106-
"http://www.wronguri.wronguri/"
107-
);
103+
// eslint-disable-next-line @microsoft/sdl/no-insecure-url
104+
BrowserTestUtils.loadURIString(browser, "http://www.wronguri.wronguri/");
108105

109106
await onLoadEvents;
110107

@@ -114,10 +111,7 @@ async function runTests(browser, accDoc) {
114111
[EVENT_REORDER, getAccessible(browser)],
115112
]);
116113

117-
BrowserTestUtils.startLoadingURIString(
118-
browser,
119-
"https://nocert.example.com:443/"
120-
);
114+
BrowserTestUtils.loadURIString(browser, "https://nocert.example.com:443/");
121115

122116
await onLoadEvents;
123117
}

accessible/tests/browser/events/browser_test_textcaret.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function caretMoveChecker(target, caretOffset) {
1919
async function checkURLBarCaretEvents() {
2020
const kURL = "about:mozilla";
2121
let newWin = await BrowserTestUtils.openNewBrowserWindow();
22-
BrowserTestUtils.startLoadingURIString(newWin.gBrowser.selectedBrowser, kURL);
22+
BrowserTestUtils.loadURIString(newWin.gBrowser.selectedBrowser, kURL);
2323
newWin.gBrowser.selectedBrowser.focus();
2424

2525
await waitForEvent(EVENT_DOCUMENT_LOAD_COMPLETE, event => {

accessible/tests/mochitest/name/test_browserui.xhtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
let docLoaded = waitForEvent(EVENT_DOCUMENT_LOAD_COMPLETE, event =>
3535
event.accessible.QueryInterface(nsIAccessibleDocument).URL === ABOUT_LICENSE_URL,
3636
`Loaded tab: ${ABOUT_LICENSE_URL}`);
37-
BrowserTestUtils.startLoadingURIString(win.gBrowser.selectedBrowser,
37+
BrowserTestUtils.loadURIString(win.gBrowser.selectedBrowser,
3838
"about:license");
3939
await loaded;
4040
await docLoaded;

browser/base/content/test/about/browser_aboutCertError.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ add_task(async function checkReturnToPreviousPage() {
8484
tab = await BrowserTestUtils.openNewForegroundTab(gBrowser, GOOD_PAGE);
8585
browser = tab.linkedBrowser;
8686

87-
BrowserTestUtils.startLoadingURIString(browser, GOOD_PAGE_2);
87+
BrowserTestUtils.loadURIString(browser, GOOD_PAGE_2);
8888
await BrowserTestUtils.browserLoaded(browser, false, GOOD_PAGE_2);
8989
await injectErrorPageFrame(tab, BAD_CERT);
9090
} else {
@@ -93,7 +93,7 @@ add_task(async function checkReturnToPreviousPage() {
9393

9494
info("Loading and waiting for the cert error");
9595
let certErrorLoaded = BrowserTestUtils.waitForErrorPage(browser);
96-
BrowserTestUtils.startLoadingURIString(browser, BAD_CERT);
96+
BrowserTestUtils.loadURIString(browser, BAD_CERT);
9797
await certErrorLoaded;
9898
}
9999

browser/base/content/test/about/browser_aboutNetError.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ add_task(async function onlyAllow3DESWithDeprecatedTLS() {
213213
await BrowserTestUtils.withNewTab(
214214
{ gBrowser, url: "about:blank" },
215215
async browser => {
216-
BrowserTestUtils.startLoadingURIString(browser, TRIPLEDES_PAGE);
216+
BrowserTestUtils.loadURIString(browser, TRIPLEDES_PAGE);
217217
await BrowserTestUtils.waitForErrorPage(browser);
218218
}
219219
);
@@ -223,7 +223,7 @@ add_task(async function onlyAllow3DESWithDeprecatedTLS() {
223223
await BrowserTestUtils.withNewTab(
224224
{ gBrowser, url: "about:blank" },
225225
async browser => {
226-
BrowserTestUtils.startLoadingURIString(browser, TRIPLEDES_PAGE);
226+
BrowserTestUtils.loadURIString(browser, TRIPLEDES_PAGE);
227227
await BrowserTestUtils.browserLoaded(browser, false, TRIPLEDES_PAGE);
228228
}
229229
);
@@ -236,7 +236,7 @@ add_task(async function onlyAllow3DESWithDeprecatedTLS() {
236236
await BrowserTestUtils.withNewTab(
237237
{ gBrowser, url: "about:blank" },
238238
async browser => {
239-
BrowserTestUtils.startLoadingURIString(browser, TRIPLEDES_PAGE);
239+
BrowserTestUtils.loadURIString(browser, TRIPLEDES_PAGE);
240240
await BrowserTestUtils.waitForErrorPage(browser);
241241
}
242242
);

browser/base/content/test/about/browser_aboutNetError_csp_iframe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async function setupPage(htmlPageName, blockedPage) {
8080
true
8181
);
8282

83-
BrowserTestUtils.startLoadingURIString(browser, iFramePage);
83+
BrowserTestUtils.loadURIString(browser, iFramePage);
8484
await browserLoaded;
8585
info("The error page has loaded!");
8686

browser/base/content/test/about/browser_aboutNetError_xfo_iframe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async function setupPage(htmlPageName, blockedPage) {
8080
true
8181
);
8282

83-
BrowserTestUtils.startLoadingURIString(browser, iFramePage);
83+
BrowserTestUtils.loadURIString(browser, iFramePage);
8484
await browserLoaded;
8585
info("The error page has loaded!");
8686

browser/base/content/test/about/browser_aboutNewTab_bookmarksToolbar.js

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ add_task(async function bookmarks_toolbar_shown_on_newtab() {
1818
ok(isBookmarksToolbarVisible(), "Toolbar should be visible on newtab");
1919

2020
// 2: Test that the toolbar is hidden when the browser is navigated away from newtab
21-
BrowserTestUtils.startLoadingURIString(
22-
newtab.linkedBrowser,
23-
"https://example.com"
24-
);
21+
BrowserTestUtils.loadURIString(newtab.linkedBrowser, "https://example.com");
2522
await BrowserTestUtils.browserLoaded(newtab.linkedBrowser);
2623
await waitForBookmarksToolbarVisibility({
2724
visible: false,
@@ -34,7 +31,7 @@ add_task(async function bookmarks_toolbar_shown_on_newtab() {
3431
);
3532

3633
// 3: Re-load about:newtab in the browser for the following tests and confirm toolbar reappears
37-
BrowserTestUtils.startLoadingURIString(newtab.linkedBrowser, "about:newtab");
34+
BrowserTestUtils.loadURIString(newtab.linkedBrowser, "about:newtab");
3835
await BrowserTestUtils.browserLoaded(newtab.linkedBrowser);
3936
await waitForBookmarksToolbarVisibility({
4037
visible: true,
@@ -68,7 +65,7 @@ add_task(async function bookmarks_toolbar_shown_on_newtab() {
6865
});
6966

7067
// 7: Similar to #3 above, loading about:newtab in example should show toolbar
71-
BrowserTestUtils.startLoadingURIString(example.linkedBrowser, "about:newtab");
68+
BrowserTestUtils.loadURIString(example.linkedBrowser, "about:newtab");
7269
await BrowserTestUtils.browserLoaded(example.linkedBrowser);
7370
await waitForBookmarksToolbarVisibility({
7471
visible: true,
@@ -91,10 +88,7 @@ add_task(async function bookmarks_toolbar_shown_on_newtab() {
9188
await BrowserTestUtils.switchTab(gBrowser, newtab);
9289
await waitForBookmarksToolbarVisibility({ visible: false });
9390
ok(!isBookmarksToolbarVisible(), "Toolbar should hide with custom newtab");
94-
BrowserTestUtils.startLoadingURIString(
95-
example.linkedBrowser,
96-
AboutNewTab.newTabURL
97-
);
91+
BrowserTestUtils.loadURIString(example.linkedBrowser, AboutNewTab.newTabURL);
9892
await BrowserTestUtils.browserLoaded(example.linkedBrowser);
9993
await BrowserTestUtils.switchTab(gBrowser, example);
10094
await waitForBookmarksToolbarVisibility({ visible: true });

browser/base/content/test/about/browser_aboutStopReload.js

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ add_task(async function checkDontShowStopFromLocalURI() {
5757
stopReloadContainerObserver.observe(stopReloadContainer, {
5858
attributeFilter: ["animate"],
5959
});
60-
BrowserTestUtils.startLoadingURIString(tab.linkedBrowser, "about:mozilla");
60+
BrowserTestUtils.loadURIString(tab.linkedBrowser, "about:mozilla");
6161
BrowserTestUtils.removeTab(tab);
6262

6363
Assert.ok(
@@ -82,7 +82,7 @@ add_task(async function checkDontShowStopFromNonLocalURI() {
8282
stopReloadContainerObserver.observe(stopReloadContainer, {
8383
attributeFilter: ["animate"],
8484
});
85-
BrowserTestUtils.startLoadingURIString(tab.linkedBrowser, "about:mozilla");
85+
BrowserTestUtils.loadURIString(tab.linkedBrowser, "about:mozilla");
8686
BrowserTestUtils.removeTab(tab);
8787

8888
Assert.ok(
@@ -132,10 +132,7 @@ add_task(async function checkAnimateStopOnTabAfterTabFinishesOpening() {
132132
return !gBrowser.tabAnimationsInProgress;
133133
});
134134
let animatePromise = getAnimatePromise(stopReloadContainer);
135-
BrowserTestUtils.startLoadingURIString(
136-
tab.linkedBrowser,
137-
"https://example.com"
138-
);
135+
BrowserTestUtils.loadURIString(tab.linkedBrowser, "https://example.com");
139136
await animatePromise;
140137
BrowserTestUtils.removeTab(tab);
141138

@@ -161,10 +158,7 @@ add_task(async function checkDoShowStopFromLocalURI() {
161158
return !gBrowser.tabAnimationsInProgress;
162159
});
163160
let animatePromise = getAnimatePromise(stopReloadContainer);
164-
BrowserTestUtils.startLoadingURIString(
165-
tab.linkedBrowser,
166-
"https://example.com"
167-
);
161+
BrowserTestUtils.loadURIString(tab.linkedBrowser, "https://example.com");
168162
await animatePromise;
169163
await waitForNoAnimation(stopReloadContainer);
170164
BrowserTestUtils.removeTab(tab);

browser/base/content/test/about/browser_bug435325.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ add_task(async function checkSwitchPageToOnlineMode() {
2222
let netErrorLoaded = BrowserTestUtils.waitForErrorPage(browser);
2323

2424
// eslint-disable-next-line @microsoft/sdl/no-insecure-url
25-
BrowserTestUtils.startLoadingURIString(browser, "http://example.com/");
25+
BrowserTestUtils.loadURIString(browser, "http://example.com/");
2626
await netErrorLoaded;
2727

2828
// Re-enable the proxy so example.com is resolved to localhost, rather than

browser/base/content/test/about/head.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ function promiseTabLoadEvent(tab, url) {
142142
let loaded = BrowserTestUtils.browserLoaded(tab.linkedBrowser, false, handle);
143143

144144
if (url) {
145-
BrowserTestUtils.startLoadingURIString(tab.linkedBrowser, url);
145+
BrowserTestUtils.loadURIString(tab.linkedBrowser, url);
146146
}
147147

148148
return loaded;

browser/base/content/test/captivePortal/browser_CaptivePortalWatcher_1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ let testcases = [
1919
false,
2020
CANONICAL_URL_REDIRECTED
2121
);
22-
BrowserTestUtils.startLoadingURIString(browser, CANONICAL_URL_REDIRECTED);
22+
BrowserTestUtils.loadURIString(browser, CANONICAL_URL_REDIRECTED);
2323
await loadPromise;
2424
await freePortal(true);
2525
ensurePortalTab(win);

browser/base/content/test/contextMenu/browser_contextmenu_badiframe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async function openTestPage() {
3636
},
3737
true /* maybeErrorPage */
3838
);
39-
BrowserTestUtils.startLoadingURIString(browser, testPage);
39+
BrowserTestUtils.loadURIString(browser, testPage);
4040
await pageAndIframesLoaded;
4141

4242
// Make sure both the top-level document and the iframe documents have

browser/base/content/test/contextMenu/browser_contextmenu_loadblobinnewtab.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ async function rightClickOpenInNewTabAndReturnContent(selector) {
2020
false,
2121
RESOURCE_LINK
2222
);
23-
BrowserTestUtils.startLoadingURIString(
24-
gBrowser.selectedBrowser,
25-
RESOURCE_LINK
26-
);
23+
BrowserTestUtils.loadURIString(gBrowser.selectedBrowser, RESOURCE_LINK);
2724
await loaded;
2825

2926
const generatedBlobURL = await ContentTask.spawn(
@@ -100,10 +97,7 @@ async function openInNewTabAndReturnContent(selector) {
10097
false,
10198
RESOURCE_LINK
10299
);
103-
BrowserTestUtils.startLoadingURIString(
104-
gBrowser.selectedBrowser,
105-
RESOURCE_LINK
106-
);
100+
BrowserTestUtils.loadURIString(gBrowser.selectedBrowser, RESOURCE_LINK);
107101
await loaded;
108102

109103
const generatedBlobURL = await ContentTask.spawn(

browser/base/content/test/contextMenu/browser_contextmenu_spellcheck.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ add_task(async function test_text_input_spellcheck_deadactor() {
185185
contextMenu.hidePopup();
186186

187187
// Now go back to the input testcase:
188-
BrowserTestUtils.startLoadingURIString(gBrowser.selectedBrowser, MAIN_URL);
188+
BrowserTestUtils.loadURIString(gBrowser.selectedBrowser, MAIN_URL);
189189
await BrowserTestUtils.browserLoaded(
190190
gBrowser.selectedBrowser,
191191
false,
@@ -206,7 +206,7 @@ add_task(async function test_text_input_spellcheck_deadactor() {
206206
wgp = gBrowser.selectedBrowser.browsingContext.currentWindowGlobal;
207207

208208
const NEW_URL = MAIN_URL.replace(".com", ".org");
209-
BrowserTestUtils.startLoadingURIString(gBrowser.selectedBrowser, NEW_URL);
209+
BrowserTestUtils.loadURIString(gBrowser.selectedBrowser, NEW_URL);
210210
await BrowserTestUtils.browserLoaded(
211211
gBrowser.selectedBrowser,
212212
false,
@@ -229,7 +229,7 @@ add_task(async function test_text_input_spellcheck_deadactor() {
229229
// again; now the context menu stuff should be destroyed by the menu
230230
// hiding, nothing else.
231231
wgp = gBrowser.selectedBrowser.browsingContext.currentWindowGlobal;
232-
BrowserTestUtils.startLoadingURIString(gBrowser.selectedBrowser, NEW_URL);
232+
BrowserTestUtils.loadURIString(gBrowser.selectedBrowser, NEW_URL);
233233
await BrowserTestUtils.browserLoaded(
234234
gBrowser.selectedBrowser,
235235
false,

browser/base/content/test/contextMenu/browser_contextmenu_touch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ add_task(async function test_back_forward_button_contextmenu_touch() {
6363
() => !backbutton.hasAttribute("disabled")
6464
);
6565
// eslint-disable-next-line @microsoft/sdl/no-insecure-url
66-
BrowserTestUtils.startLoadingURIString(browser, "http://example.org");
66+
BrowserTestUtils.loadURIString(browser, "http://example.org");
6767
await notDisabled;
6868
await openAndCheckContextMenu(contextMenu, backbutton);
6969

browser/base/content/test/favicons/browser_bug408415.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ add_task(async function test() {
88
const expectedIcon = testPath + "file_generic_favicon.ico";
99
let faviconPromise = waitForLinkAvailable(tabBrowser);
1010

11-
BrowserTestUtils.startLoadingURIString(tabBrowser, URI);
11+
BrowserTestUtils.loadURIString(tabBrowser, URI);
1212

1313
let iconURI = await faviconPromise;
1414
is(iconURI, expectedIcon, "Correct icon before pushState.");

browser/base/content/test/favicons/browser_bug550565.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ add_task(async function test() {
88
const expectedIcon = testPath + "file_generic_favicon.ico";
99
let faviconPromise = waitForLinkAvailable(tabBrowser);
1010

11-
BrowserTestUtils.startLoadingURIString(tabBrowser, URI);
11+
BrowserTestUtils.loadURIString(tabBrowser, URI);
1212

1313
let iconURI = await faviconPromise;
1414
is(iconURI, expectedIcon, "Correct icon before pushState.");

browser/base/content/test/favicons/browser_favicon_accept.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ add_task(async () => {
1212
async browser => {
1313
let faviconPromise = waitForFaviconMessage(true, `${ROOT}accept.sjs`);
1414

15-
BrowserTestUtils.startLoadingURIString(browser, ROOT + "accept.html");
15+
BrowserTestUtils.loadURIString(browser, ROOT + "accept.html");
1616
await BrowserTestUtils.browserLoaded(browser);
1717

1818
try {

browser/base/content/test/favicons/browser_favicon_auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ add_task(async () => {
1212
async browser => {
1313
let faviconPromise = waitForFaviconMessage(true, `${ROOT}auth_test.png`);
1414

15-
BrowserTestUtils.startLoadingURIString(browser, `${ROOT}auth_test.html`);
15+
BrowserTestUtils.loadURIString(browser, `${ROOT}auth_test.html`);
1616
await BrowserTestUtils.browserLoaded(browser);
1717

1818
await Assert.rejects(

browser/base/content/test/favicons/browser_favicon_cache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ add_task(async () => {
2727
ok(seenCookie, "Should have seen the cookie.");
2828

2929
faviconPromise = waitForLinkAvailable(browser);
30-
BrowserTestUtils.startLoadingURIString(browser, testPath);
30+
BrowserTestUtils.loadURIString(browser, testPath);
3131
await BrowserTestUtils.browserLoaded(browser);
3232
await faviconPromise;
3333
cookies = Services.cookies.getCookiesFromHost(

browser/base/content/test/favicons/browser_favicon_change.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ add_task(async function () {
1414
TEST_ROOT + "file_bug970276_favicon1.ico"
1515
);
1616

17-
BrowserTestUtils.startLoadingURIString(extraTab.linkedBrowser, TEST_URL);
17+
BrowserTestUtils.loadURIString(extraTab.linkedBrowser, TEST_URL);
1818
await BrowserTestUtils.browserLoaded(extraTab.linkedBrowser);
1919
await haveChanged;
2020

browser/base/content/test/favicons/browser_favicon_change_not_in_document.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ add_task(async function () {
3939
let expectedFavicon = TEST_ROOT + "file_generic_favicon.ico";
4040
let faviconPromise = waitForFavicon(extraTab.linkedBrowser, expectedFavicon);
4141

42-
BrowserTestUtils.startLoadingURIString(extraTab.linkedBrowser, TEST_URL);
42+
BrowserTestUtils.loadURIString(extraTab.linkedBrowser, TEST_URL);
4343
await BrowserTestUtils.browserLoaded(extraTab.linkedBrowser);
4444

4545
await faviconPromise;

browser/base/content/test/favicons/browser_favicon_credentials.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function run_test(url, shouldHaveCookies, description) {
3232
async browser => {
3333
const faviconPromise = waitForFaviconMessage(true, FAVICON_URL);
3434

35-
BrowserTestUtils.startLoadingURIString(browser, url);
35+
BrowserTestUtils.loadURIString(browser, url);
3636
await BrowserTestUtils.browserLoaded(browser);
3737

3838
await faviconPromise;

browser/base/content/test/favicons/browser_favicon_crossorigin.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ function run_test(root, shouldSucceed, description) {
2727
async browser => {
2828
const faviconPromise = waitForFaviconMessage(true, FAVICON_URL);
2929

30-
BrowserTestUtils.startLoadingURIString(
31-
browser,
32-
`${root}crossorigin.html`
33-
);
30+
BrowserTestUtils.loadURIString(browser, `${root}crossorigin.html`);
3431
await BrowserTestUtils.browserLoaded(browser);
3532

3633
if (shouldSucceed) {

0 commit comments

Comments
 (0)