Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(878)

Unified Diff: tests/selenium/tests/v8-test.html

Issue 1566005: Fix except clauses with multiple browser names. The scripts parse the list on... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/selenium/sample_list.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
+ }
}
};
« no previous file with comments | « tests/selenium/sample_list.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698