summaryrefslogtreecommitdiffstats
path: root/dom/base/test/file_window_close.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/test/file_window_close.html')
-rw-r--r--dom/base/test/file_window_close.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/base/test/file_window_close.html b/dom/base/test/file_window_close.html
index 5adec04ec4..b3bb20d499 100644
--- a/dom/base/test/file_window_close.html
+++ b/dom/base/test/file_window_close.html
@@ -13,7 +13,7 @@
if (history.length == 4) {
// We're coming back from history.
function listener(m) {
- if (m.message.includes("Scripts may not close windows that were not opened by script.")) {
+ if (m.message.includes("Scripts may only close windows that were opened by a script.")) {
SpecialPowers.postConsoleSentinel();
SpecialPowers.pushPrefEnv({ set: [["dom.allow_scripts_to_close_windows", true]]}).then(
function() {