summaryrefslogtreecommitdiffstats
path: root/js/src/tests
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-03-12 11:09:28 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-03-12 11:09:28 +0100
commit519775b8d9d823b8cee786bc668e050110a8aa67 (patch)
tree42296be483ab2f1f3042f5aca8ce91c2aa669ec3 /js/src/tests
parent2fbd1794780f92d1e511f6314cc9af7b446a6338 (diff)
downloadUXP-519775b8d9d823b8cee786bc668e050110a8aa67.tar
UXP-519775b8d9d823b8cee786bc668e050110a8aa67.tar.gz
UXP-519775b8d9d823b8cee786bc668e050110a8aa67.tar.lz
UXP-519775b8d9d823b8cee786bc668e050110a8aa67.tar.xz
UXP-519775b8d9d823b8cee786bc668e050110a8aa67.zip
Revert "JS - RegExp - match updated spec for `/\b/iu` and `/\B/iu`"
This reverts commit 93f8e06bb8d8656e868679d584c7c8771ff8e42f.
Diffstat (limited to 'js/src/tests')
-rw-r--r--js/src/tests/ecma_6/RegExp/unicode-ignoreCase-word-boundary.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/js/src/tests/ecma_6/RegExp/unicode-ignoreCase-word-boundary.js b/js/src/tests/ecma_6/RegExp/unicode-ignoreCase-word-boundary.js
deleted file mode 100644
index c1a04bd3d..000000000
--- a/js/src/tests/ecma_6/RegExp/unicode-ignoreCase-word-boundary.js
+++ /dev/null
@@ -1,25 +0,0 @@
-var BUGNUMBER = 1338373;
-var summary = "Word boundary should match U+017F and U+212A in unicode+ignoreCase.";
-
-assertEq(/\b/iu.test('\u017F'), true);
-assertEq(/\b/i.test('\u017F'), false);
-assertEq(/\b/u.test('\u017F'), false);
-assertEq(/\b/.test('\u017F'), false);
-
-assertEq(/\b/iu.test('\u212A'), true);
-assertEq(/\b/i.test('\u212A'), false);
-assertEq(/\b/u.test('\u212A'), false);
-assertEq(/\b/.test('\u212A'), false);
-
-assertEq(/\B/iu.test('\u017F'), false);
-assertEq(/\B/i.test('\u017F'), true);
-assertEq(/\B/u.test('\u017F'), true);
-assertEq(/\B/.test('\u017F'), true);
-
-assertEq(/\B/iu.test('\u212A'), false);
-assertEq(/\B/i.test('\u212A'), true);
-assertEq(/\B/u.test('\u212A'), true);
-assertEq(/\B/.test('\u212A'), true);
-
-if (typeof reportCompare === "function")
- reportCompare(true, true);