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

Unified Diff: test/mjsunit/regress/regress-244.js

Issue 7348008: Merge up to 8597 to experimental/gc from the bleeding edge. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: '' Created 9 years, 5 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 | « test/mjsunit/regress/regress-1531.js ('k') | test/mjsunit/regress/regress-485.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-244.js
===================================================================
--- test/mjsunit/regress/regress-244.js (revision 8618)
+++ test/mjsunit/regress/regress-244.js (working copy)
@@ -54,13 +54,14 @@
}
for (var i = 0; i < kIllegalEncoded.length; i++) {
var value = kIllegalEncoded[i];
- var threw = false;
+ var exception = false;
try {
decodeURI(value);
- assertUnreachable(value);
} catch (e) {
+ exception = true;
assertInstanceof(e, URIError);
}
+ assertTrue(exception);
}
}
« no previous file with comments | « test/mjsunit/regress/regress-1531.js ('k') | test/mjsunit/regress/regress-485.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698