Skip to content

Commit e079732

Browse files
committed
fix: Fixed workspace tests not running successfully, b=(no-bug), c=no-component
1 parent 71f2680 commit e079732

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
diff --git a/testing/mochitest/browser-test.js b/testing/mochitest/browser-test.js
2+
index ef29179988bb37e7ea441aa051b692e3ccc90f21..7eade843ad62e47f90dc06a4a1fb88b6d1c1a583 100644
3+
--- a/testing/mochitest/browser-test.js
4+
+++ b/testing/mochitest/browser-test.js
5+
@@ -483,12 +483,12 @@ Tester.prototype = {
6+
7+
// Replace the last tab with a fresh one
8+
if (window.gBrowser && AppConstants.MOZ_APP_NAME != "thunderbird") {
9+
- gBrowser.addTab("about:blank", {
10+
- skipAnimation: true,
11+
- triggeringPrincipal:
12+
- Services.scriptSecurityManager.getSystemPrincipal(),
13+
- });
14+
- gBrowser.removeTab(gBrowser.selectedTab, { skipPermitUnload: true });
15+
+ // gBrowser.addTab("about:blank", {
16+
+ // skipAnimation: true,
17+
+ // triggeringPrincipal:
18+
+ // Services.scriptSecurityManager.getSystemPrincipal(),
19+
+ // });
20+
+ // gBrowser.removeTab(gBrowser.selectedTab, { skipPermitUnload: true });
21+
gBrowser.stop();
22+
}
23+

0 commit comments

Comments
 (0)