diff --git a/dom/tests/mochitest/bugs/test_bug1112040.html b/dom/tests/mochitest/bugs/test_bug1112040.html index 7648b30fb581..690d24e66c07 100644 --- a/dom/tests/mochitest/bugs/test_bug1112040.html +++ b/dom/tests/mochitest/bugs/test_bug1112040.html @@ -23,7 +23,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1112040 /** Test for Bug 1112040 **/ SimpleTest.runTestExpectingConsoleMessages( function() { $('i').value = "42"; }, - [{ errorMessage: "SyntaxError: nothing to repeat" }] + [{ errorMessage: /nothing to repeat/ }] );