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

Unified Diff: test/webkit/fast/js/string-split-ignore-case.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-ignore-case.js
diff --git a/test/webkit/declaration-in-block.js b/test/webkit/fast/js/string-split-ignore-case.js
similarity index 87%
copy from test/webkit/declaration-in-block.js
copy to test/webkit/fast/js/string-split-ignore-case.js
index 39c4fc06ce7958ba0d4c2f77e9faede8d67370d3..2c36aeeafb9ffa3d2ff562c37a13175a9fedbfca 100644
--- a/test/webkit/declaration-in-block.js
+++ b/test/webkit/fast/js/string-split-ignore-case.js
@@ -22,8 +22,7 @@
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
description(
-"This test checks that declarations in an if block can be seen outside it."
+'This test checks for a regression against <a href="https://bugs.webkit.org/show_bug.cgi?id=6119">split() function ignores case insensitive modifier</a>.'
);
-if (0) { var b; }
-var a = b;
+shouldBe('"1s2S3".split(/s/i).toString()', '"1,2,3"');
« no previous file with comments | « test/webkit/fast/js/string-split-double-empty-expected.txt ('k') | test/webkit/fast/js/string-split-ignore-case-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698