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

Unified Diff: test/webkit/string-replacement-outofmemory.js

Issue 288163003: Adapt test expectations in webkit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | « no previous file | test/webkit/string-replacement-outofmemory-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/webkit/string-replacement-outofmemory.js
diff --git a/test/webkit/string-replacement-outofmemory.js b/test/webkit/string-replacement-outofmemory.js
index 2b8e18a854110a7c81829b2ff1aa551435f294a2..becfdc6a1f69f38e7d28417785b336407438f53d 100644
--- a/test/webkit/string-replacement-outofmemory.js
+++ b/test/webkit/string-replacement-outofmemory.js
@@ -37,5 +37,5 @@ var y = "2";
x = createStringWithRepeatedChar(x, 1 << 12);
y = createStringWithRepeatedChar(y, (1 << 20) + 1);
-shouldThrow("x.replace(/\\d/g, y)", '"Error: Out of memory"');
+shouldThrow("x.replace(/\\d/g, y)", '"RangeError: Invalid string length"');
var successfullyParsed = true;
« no previous file with comments | « no previous file | test/webkit/string-replacement-outofmemory-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698