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

Unified Diff: test/webkit/fast/js/string-split-double-empty.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/string-split-double-empty.js
diff --git a/test/webkit/debugger.js b/test/webkit/fast/js/string-split-double-empty.js
similarity index 85%
copy from test/webkit/debugger.js
copy to test/webkit/fast/js/string-split-double-empty.js
index 8bc980a505fdda590d8e7ee75bb69f41878af95a..f7c0cbc11178c485fc8b200745aa98182b66595f 100644
--- a/test/webkit/debugger.js
+++ b/test/webkit/fast/js/string-split-double-empty.js
@@ -22,8 +22,8 @@
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
description(
-"This file tests whether the 'debugger' statement throws a syntax error. (IE respects 'debugger' as a statement that behaves like a breakpoint)."
+'This test checks for a regression against <a href="https://bugs.webkit.org/show_bug.cgi?id=44600">split() function returns wrong answer for second empty split</a>.'
);
-debugger
-debugger;
+shouldBe('"".split(/s+/)', '[""]');
+shouldBe('"".split(/s+/)', '[""]');
« no previous file with comments | « test/webkit/fast/js/string-split-conformance-expected.txt ('k') | test/webkit/fast/js/string-split-double-empty-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698