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

Unified Diff: test/webkit/fast/js/regexp-range-out-of-order.js

Issue 20280003: Migrate more tests from blink repository. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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
Index: test/webkit/fast/js/regexp-range-out-of-order.js
diff --git a/test/webkit/const-without-initializer.js b/test/webkit/fast/js/regexp-range-out-of-order.js
similarity index 87%
copy from test/webkit/const-without-initializer.js
copy to test/webkit/fast/js/regexp-range-out-of-order.js
index 9eb036522a05920b2c1441b387002f91811d1752..f1ca53be7442e0d6f2447c184811e96f9f94ae0f 100644
--- a/test/webkit/const-without-initializer.js
+++ b/test/webkit/fast/js/regexp-range-out-of-order.js
@@ -22,13 +22,9 @@
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
description(
-'Tests that declaring a const variable without initializing has the correct behavior and does not crash'
-);
-
-const f;
-shouldBe('f', 'undefined');
+'Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=16129">bug 16129</a>: REGRESSION (r27761-r27811): malloc error while visiting http://mysit.es (crashes release build).'
-f = 10;
+);
-shouldBe('f', 'undefined');
+shouldThrow('/^[\s{-.\[\]\(\)]$/');

Powered by Google App Engine
This is Rietveld 408576698