| Index: tests/selenium/tests/v8-test.html
|
| ===================================================================
|
| --- tests/selenium/tests/v8-test.html (revision 42719)
|
| +++ tests/selenium/tests/v8-test.html (working copy)
|
| @@ -556,8 +556,14 @@
|
| if (!isChrome && !isSafari) {
|
| g_test.assertTrue(exceptionThrown);
|
| }
|
| - g_test.assertEquals(
|
| - 'Uncaught error in function() { throw "error"; }', error);
|
| + if (isChrome) {
|
| + // Chrome does not expect parenthesis around the error.
|
| + g_test.assertEquals(
|
| + 'Uncaught error in function() { throw "error"; }', error);
|
| + } else {
|
| + g_test.assertEquals(
|
| + 'Uncaught error in (function() { throw "error"; })', error);
|
| + }
|
| }
|
| };
|
|
|
|
|