[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
commit-queue at webkit.org
commit-queue at webkit.org
Wed Dec 22 12:37:23 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit c84e36fab33aa3ff6371d5805f14ea064048d8d6
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Aug 26 03:09:44 2010 +0000
2010-08-25 Michael Saboff <msaboff at apple.com>
Reviewed by Oliver Hunt.
Added new test to check for regression as reported in
https://bugs.webkit.org/show_bug.cgi?id=44600.
* fast/js/script-tests/string-split-double-empty.js: Added.
* fast/js/string-split-double-empty-expected.txt: Added.
* fast/js/string-split-double-empty.html: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66075 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index a3131d8..808561b 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,14 @@
+2010-08-25 Michael Saboff <msaboff at apple.com>
+
+ Reviewed by Oliver Hunt.
+
+ Added new test to check for regression as reported in
+ https://bugs.webkit.org/show_bug.cgi?id=44600.
+
+ * fast/js/script-tests/string-split-double-empty.js: Added.
+ * fast/js/string-split-double-empty-expected.txt: Added.
+ * fast/js/string-split-double-empty.html: Added.
+
2010-08-25 Martin Robinson <mrobinson at igalia.com>
Skip a test that requires editing delegate dumps.
diff --git a/LayoutTests/fast/js/script-tests/string-split-double-empty.js b/LayoutTests/fast/js/script-tests/string-split-double-empty.js
new file mode 100644
index 0000000..3c53bcb
--- /dev/null
+++ b/LayoutTests/fast/js/script-tests/string-split-double-empty.js
@@ -0,0 +1,8 @@
+description(
+'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>.'
+);
+
+shouldBe('"".split(/s+/)', '[""]');
+shouldBe('"".split(/s+/)', '[""]');
+
+var successfullyParsed = true;
diff --git a/LayoutTests/fast/js/string-split-double-empty-expected.txt b/LayoutTests/fast/js/string-split-double-empty-expected.txt
new file mode 100644
index 0000000..9fee266
--- /dev/null
+++ b/LayoutTests/fast/js/string-split-double-empty-expected.txt
@@ -0,0 +1,11 @@
+This test checks for a regression against split() function returns wrong answer for second empty split.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS "".split(/s+/) is [""]
+PASS "".split(/s+/) is [""]
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/fast/js/string-split-double-empty.html b/LayoutTests/fast/js/string-split-double-empty.html
new file mode 100644
index 0000000..f35580f
--- /dev/null
+++ b/LayoutTests/fast/js/string-split-double-empty.html
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<link rel="stylesheet" href="resources/js-test-style.css">
+<script src="resources/js-test-pre.js"></script>
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+<script src="script-tests/string-split-double-empty.js"></script>
+<script src="resources/js-test-post.js"></script>
+</body>
+</html>
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list