js/src/jit-test/tests/basic/bug689916-regexp.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/basic/bug689916-regexp.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,4 @@
     1.4 +/* should not crash on SPARC */
     1.5 +var http_string = 'https://easylist-downloads.adblockplus.org/easylist.txt';
     1.6 +var regexp = /^[\w\-]+:\/+(?!\/)(?:[^.\/]+\.)*?reports\.adblockplus\.org(?:[\x00-\x24\x26-\x2C\x2F\x3A-\x40\x5B-\x5E\x60\x7B-\x80]|$)/i;
     1.7 +assertEq(http_string.match(regexp), null);

mercurial