From 60782de95eddffa98b6cf57842d17836bbb53bb0 Mon Sep 17 00:00:00 2001 From: Leo Balter Date: Mon, 25 Sep 2017 14:41:08 -0400 Subject: [PATCH] Tag tests for U+180E and complete coverage for RegExp matching --- features.txt | 1 + test/built-ins/Number/S9.3.1_A2_U180E.js | 1 + test/built-ins/Number/S9.3.1_A3_T1_U180E.js | 1 + test/built-ins/Number/S9.3.1_A3_T2_U180E.js | 1 + test/built-ins/RegExp/S15.10.2.12_A1_T1.js | 2 +- .../RegExp/dotall/with-dotall-unicode.js | 2 +- test/built-ins/RegExp/dotall/with-dotall.js | 2 +- .../RegExp/dotall/without-dotall-unicode.js | 1 + .../built-ins/RegExp/dotall/without-dotall.js | 1 + test/built-ins/RegExp/u180e.js | 26 +++++++++++++++++++ .../toLocaleLowerCase/Final_Sigma_U180E.js | 1 + .../toLowerCase/Final_Sigma_U180E.js | 1 + test/built-ins/String/prototype/trim/u180e.js | 1 + .../parseFloat/S15.1.2.3_A2_T10_U180E.js | 2 +- .../parseInt/S15.1.2.2_A2_T10_U180E.js | 1 + .../mongolian-vowel-separator-single-eval.js | 1 + .../mongolian-vowel-separator-eval.js | 1 + .../mongolian-vowel-separator.js | 1 + .../regexp/mongolian-vowel-separator-eval.js | 1 + .../regexp/mongolian-vowel-separator.js | 1 + .../string/mongolian-vowel-separator-eval.js | 1 + .../string/mongolian-vowel-separator.js | 1 + .../mongolian-vowel-separator-eval.js | 1 + 23 files changed, 48 insertions(+), 4 deletions(-) create mode 100644 test/built-ins/RegExp/u180e.js diff --git a/features.txt b/features.txt index 4b4c524bd0..7760b62586 100644 --- a/features.txt +++ b/features.txt @@ -113,6 +113,7 @@ Symbol.unscopables tail-call-optimization template TypedArray +u180e Uint8Array WeakMap WeakSet diff --git a/test/built-ins/Number/S9.3.1_A2_U180E.js b/test/built-ins/Number/S9.3.1_A2_U180E.js index 4ccbee6c89..9f6e855076 100644 --- a/test/built-ins/Number/S9.3.1_A2_U180E.js +++ b/test/built-ins/Number/S9.3.1_A2_U180E.js @@ -28,6 +28,7 @@ info: > :: Other category “Zs” code points +features: [u180e] ---*/ assert.sameValue(Number('\u180E'), NaN, 'Number("\\u180E") === NaN. Actual: ' + (Number("\u180E"))); diff --git a/test/built-ins/Number/S9.3.1_A3_T1_U180E.js b/test/built-ins/Number/S9.3.1_A3_T1_U180E.js index 12d3ed43d5..c44a39e42b 100644 --- a/test/built-ins/Number/S9.3.1_A3_T1_U180E.js +++ b/test/built-ins/Number/S9.3.1_A3_T1_U180E.js @@ -28,6 +28,7 @@ info: > :: Other category “Zs” code points +features: [u180e] ---*/ // CHECK#1 diff --git a/test/built-ins/Number/S9.3.1_A3_T2_U180E.js b/test/built-ins/Number/S9.3.1_A3_T2_U180E.js index 19cc137d90..29d5aa688f 100644 --- a/test/built-ins/Number/S9.3.1_A3_T2_U180E.js +++ b/test/built-ins/Number/S9.3.1_A3_T2_U180E.js @@ -28,6 +28,7 @@ info: > :: Other category “Zs” code points +features: [u180e] ---*/ function dynaString(s1, s2){ diff --git a/test/built-ins/RegExp/S15.10.2.12_A1_T1.js b/test/built-ins/RegExp/S15.10.2.12_A1_T1.js index e5e641d2dc..16c3d636ce 100644 --- a/test/built-ins/RegExp/S15.10.2.12_A1_T1.js +++ b/test/built-ins/RegExp/S15.10.2.12_A1_T1.js @@ -60,7 +60,7 @@ if (i5.replace(/\s+/g, "") !== o5) { var i6 = ""; for (var j = 6144; j < 7168; j++) i6 += String.fromCharCode(j); -var o6 = "\u1800\u1801\u1802\u1803\u1804\u1805\u1806\u1807\u1808\u1809\u180A\u180B\u180C\u180D\u180E\u180F\u1810\u1811\u1812\u1813\u1814\u1815\u1816\u1817\u1818\u1819\u181A\u181B\u181C\u181D\u181E\u181F\u1820\u1821\u1822\u1823\u1824\u1825\u1826\u1827\u1828\u1829\u182A\u182B\u182C\u182D\u182E\u182F\u1830\u1831\u1832\u1833\u1834\u1835\u1836\u1837\u1838\u1839\u183A\u183B\u183C\u183D\u183E\u183F\u1840\u1841\u1842\u1843\u1844\u1845\u1846\u1847\u1848\u1849\u184A\u184B\u184C\u184D\u184E\u184F\u1850\u1851\u1852\u1853\u1854\u1855\u1856\u1857\u1858\u1859\u185A\u185B\u185C\u185D\u185E\u185F\u1860\u1861\u1862\u1863\u1864\u1865\u1866\u1867\u1868\u1869\u186A\u186B\u186C\u186D\u186E\u186F\u1870\u1871\u1872\u1873\u1874\u1875\u1876\u1877\u1878\u1879\u187A\u187B\u187C\u187D\u187E\u187F\u1880\u1881\u1882\u1883\u1884\u1885\u1886\u1887\u1888\u1889\u188A\u188B\u188C\u188D\u188E\u188F\u1890\u1891\u1892\u1893\u1894\u1895\u1896\u1897\u1898\u1899\u189A\u189B\u189C\u189D\u189E\u189F\u18A0\u18A1\u18A2\u18A3\u18A4\u18A5\u18A6\u18A7\u18A8\u18A9\u18AA\u18AB\u18AC\u18AD\u18AE\u18AF\u18B0\u18B1\u18B2\u18B3\u18B4\u18B5\u18B6\u18B7\u18B8\u18B9\u18BA\u18BB\u18BC\u18BD\u18BE\u18BF\u18C0\u18C1\u18C2\u18C3\u18C4\u18C5\u18C6\u18C7\u18C8\u18C9\u18CA\u18CB\u18CC\u18CD\u18CE\u18CF\u18D0\u18D1\u18D2\u18D3\u18D4\u18D5\u18D6\u18D7\u18D8\u18D9\u18DA\u18DB\u18DC\u18DD\u18DE\u18DF\u18E0\u18E1\u18E2\u18E3\u18E4\u18E5\u18E6\u18E7\u18E8\u18E9\u18EA\u18EB\u18EC\u18ED\u18EE\u18EF\u18F0\u18F1\u18F2\u18F3\u18F4\u18F5\u18F6\u18F7\u18F8\u18F9\u18FA\u18FB\u18FC\u18FD\u18FE\u18FF\u1900\u1901\u1902\u1903\u1904\u1905\u1906\u1907\u1908\u1909\u190A\u190B\u190C\u190D\u190E\u190F\u1910\u1911\u1912\u1913\u1914\u1915\u1916\u1917\u1918\u1919\u191A\u191B\u191C\u191D\u191E\u191F\u1920\u1921\u1922\u1923\u1924\u1925\u1926\u1927\u1928\u1929\u192A\u192B\u192C\u192D\u192E\u192F\u1930\u1931\u1932\u1933\u1934\u1935\u1936\u1937\u1938\u1939\u193A\u193B\u193C\u193D\u193E\u193F\u1940\u1941\u1942\u1943\u1944\u1945\u1946\u1947\u1948\u1949\u194A\u194B\u194C\u194D\u194E\u194F\u1950\u1951\u1952\u1953\u1954\u1955\u1956\u1957\u1958\u1959\u195A\u195B\u195C\u195D\u195E\u195F\u1960\u1961\u1962\u1963\u1964\u1965\u1966\u1967\u1968\u1969\u196A\u196B\u196C\u196D\u196E\u196F\u1970\u1971\u1972\u1973\u1974\u1975\u1976\u1977\u1978\u1979\u197A\u197B\u197C\u197D\u197E\u197F\u1980\u1981\u1982\u1983\u1984\u1985\u1986\u1987\u1988\u1989\u198A\u198B\u198C\u198D\u198E\u198F\u1990\u1991\u1992\u1993\u1994\u1995\u1996\u1997\u1998\u1999\u199A\u199B\u199C\u199D\u199E\u199F\u19A0\u19A1\u19A2\u19A3\u19A4\u19A5\u19A6\u19A7\u19A8\u19A9\u19AA\u19AB\u19AC\u19AD\u19AE\u19AF\u19B0\u19B1\u19B2\u19B3\u19B4\u19B5\u19B6\u19B7\u19B8\u19B9\u19BA\u19BB\u19BC\u19BD\u19BE\u19BF\u19C0\u19C1\u19C2\u19C3\u19C4\u19C5\u19C6\u19C7\u19C8\u19C9\u19CA\u19CB\u19CC\u19CD\u19CE\u19CF\u19D0\u19D1\u19D2\u19D3\u19D4\u19D5\u19D6\u19D7\u19D8\u19D9\u19DA\u19DB\u19DC\u19DD\u19DE\u19DF\u19E0\u19E1\u19E2\u19E3\u19E4\u19E5\u19E6\u19E7\u19E8\u19E9\u19EA\u19EB\u19EC\u19ED\u19EE\u19EF\u19F0\u19F1\u19F2\u19F3\u19F4\u19F5\u19F6\u19F7\u19F8\u19F9\u19FA\u19FB\u19FC\u19FD\u19FE\u19FF\u1A00\u1A01\u1A02\u1A03\u1A04\u1A05\u1A06\u1A07\u1A08\u1A09\u1A0A\u1A0B\u1A0C\u1A0D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F\u1B80\u1B81\u1B82\u1B83\u1B84\u1B85\u1B86\u1B87\u1B88\u1B89\u1B8A\u1B8B\u1B8C\u1B8D\u1B8E\u1B8F\u1B90\u1B91\u1B92\u1B93\u1B94\u1B95\u1B96\u1B97\u1B98\u1B99\u1B9A\u1B9B\u1B9C\u1B9D\u1B9E\u1B9F\u1BA0\u1BA1\u1BA2\u1BA3\u1BA4\u1BA5\u1BA6\u1BA7\u1BA8\u1BA9\u1BAA\u1BAB\u1BAC\u1BAD\u1BAE\u1BAF\u1BB0\u1BB1\u1BB2\u1BB3\u1BB4\u1BB5\u1BB6\u1BB7\u1BB8\u1BB9\u1BBA\u1BBB\u1BBC\u1BBD\u1BBE\u1BBF\u1BC0\u1BC1\u1BC2\u1BC3\u1BC4\u1BC5\u1BC6\u1BC7\u1BC8\u1BC9\u1BCA\u1BCB\u1BCC\u1BCD\u1BCE\u1BCF\u1BD0\u1BD1\u1BD2\u1BD3\u1BD4\u1BD5\u1BD6\u1BD7\u1BD8\u1BD9\u1BDA\u1BDB\u1BDC\u1BDD\u1BDE\u1BDF\u1BE0\u1BE1\u1BE2\u1BE3\u1BE4\u1BE5\u1BE6\u1BE7\u1BE8\u1BE9\u1BEA\u1BEB\u1BEC\u1BED\u1BEE\u1BEF\u1BF0\u1BF1\u1BF2\u1BF3\u1BF4\u1BF5\u1BF6\u1BF7\u1BF8\u1BF9\u1BFA\u1BFB\u1BFC\u1BFD\u1BFE\u1BFF"; +var o6 = "\u1800\u1801\u1802\u1803\u1804\u1805\u1806\u1807\u1808\u1809\u180A\u180B\u180C\u180D\u180F\u1810\u1811\u1812\u1813\u1814\u1815\u1816\u1817\u1818\u1819\u181A\u181B\u181C\u181D\u181E\u181F\u1820\u1821\u1822\u1823\u1824\u1825\u1826\u1827\u1828\u1829\u182A\u182B\u182C\u182D\u182E\u182F\u1830\u1831\u1832\u1833\u1834\u1835\u1836\u1837\u1838\u1839\u183A\u183B\u183C\u183D\u183E\u183F\u1840\u1841\u1842\u1843\u1844\u1845\u1846\u1847\u1848\u1849\u184A\u184B\u184C\u184D\u184E\u184F\u1850\u1851\u1852\u1853\u1854\u1855\u1856\u1857\u1858\u1859\u185A\u185B\u185C\u185D\u185E\u185F\u1860\u1861\u1862\u1863\u1864\u1865\u1866\u1867\u1868\u1869\u186A\u186B\u186C\u186D\u186E\u186F\u1870\u1871\u1872\u1873\u1874\u1875\u1876\u1877\u1878\u1879\u187A\u187B\u187C\u187D\u187E\u187F\u1880\u1881\u1882\u1883\u1884\u1885\u1886\u1887\u1888\u1889\u188A\u188B\u188C\u188D\u188E\u188F\u1890\u1891\u1892\u1893\u1894\u1895\u1896\u1897\u1898\u1899\u189A\u189B\u189C\u189D\u189E\u189F\u18A0\u18A1\u18A2\u18A3\u18A4\u18A5\u18A6\u18A7\u18A8\u18A9\u18AA\u18AB\u18AC\u18AD\u18AE\u18AF\u18B0\u18B1\u18B2\u18B3\u18B4\u18B5\u18B6\u18B7\u18B8\u18B9\u18BA\u18BB\u18BC\u18BD\u18BE\u18BF\u18C0\u18C1\u18C2\u18C3\u18C4\u18C5\u18C6\u18C7\u18C8\u18C9\u18CA\u18CB\u18CC\u18CD\u18CE\u18CF\u18D0\u18D1\u18D2\u18D3\u18D4\u18D5\u18D6\u18D7\u18D8\u18D9\u18DA\u18DB\u18DC\u18DD\u18DE\u18DF\u18E0\u18E1\u18E2\u18E3\u18E4\u18E5\u18E6\u18E7\u18E8\u18E9\u18EA\u18EB\u18EC\u18ED\u18EE\u18EF\u18F0\u18F1\u18F2\u18F3\u18F4\u18F5\u18F6\u18F7\u18F8\u18F9\u18FA\u18FB\u18FC\u18FD\u18FE\u18FF\u1900\u1901\u1902\u1903\u1904\u1905\u1906\u1907\u1908\u1909\u190A\u190B\u190C\u190D\u190E\u190F\u1910\u1911\u1912\u1913\u1914\u1915\u1916\u1917\u1918\u1919\u191A\u191B\u191C\u191D\u191E\u191F\u1920\u1921\u1922\u1923\u1924\u1925\u1926\u1927\u1928\u1929\u192A\u192B\u192C\u192D\u192E\u192F\u1930\u1931\u1932\u1933\u1934\u1935\u1936\u1937\u1938\u1939\u193A\u193B\u193C\u193D\u193E\u193F\u1940\u1941\u1942\u1943\u1944\u1945\u1946\u1947\u1948\u1949\u194A\u194B\u194C\u194D\u194E\u194F\u1950\u1951\u1952\u1953\u1954\u1955\u1956\u1957\u1958\u1959\u195A\u195B\u195C\u195D\u195E\u195F\u1960\u1961\u1962\u1963\u1964\u1965\u1966\u1967\u1968\u1969\u196A\u196B\u196C\u196D\u196E\u196F\u1970\u1971\u1972\u1973\u1974\u1975\u1976\u1977\u1978\u1979\u197A\u197B\u197C\u197D\u197E\u197F\u1980\u1981\u1982\u1983\u1984\u1985\u1986\u1987\u1988\u1989\u198A\u198B\u198C\u198D\u198E\u198F\u1990\u1991\u1992\u1993\u1994\u1995\u1996\u1997\u1998\u1999\u199A\u199B\u199C\u199D\u199E\u199F\u19A0\u19A1\u19A2\u19A3\u19A4\u19A5\u19A6\u19A7\u19A8\u19A9\u19AA\u19AB\u19AC\u19AD\u19AE\u19AF\u19B0\u19B1\u19B2\u19B3\u19B4\u19B5\u19B6\u19B7\u19B8\u19B9\u19BA\u19BB\u19BC\u19BD\u19BE\u19BF\u19C0\u19C1\u19C2\u19C3\u19C4\u19C5\u19C6\u19C7\u19C8\u19C9\u19CA\u19CB\u19CC\u19CD\u19CE\u19CF\u19D0\u19D1\u19D2\u19D3\u19D4\u19D5\u19D6\u19D7\u19D8\u19D9\u19DA\u19DB\u19DC\u19DD\u19DE\u19DF\u19E0\u19E1\u19E2\u19E3\u19E4\u19E5\u19E6\u19E7\u19E8\u19E9\u19EA\u19EB\u19EC\u19ED\u19EE\u19EF\u19F0\u19F1\u19F2\u19F3\u19F4\u19F5\u19F6\u19F7\u19F8\u19F9\u19FA\u19FB\u19FC\u19FD\u19FE\u19FF\u1A00\u1A01\u1A02\u1A03\u1A04\u1A05\u1A06\u1A07\u1A08\u1A09\u1A0A\u1A0B\u1A0C\u1A0D\u1A0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80\u1B81\u1B82\u1B83\u1B84\u1B85\u1B86\u1B87\u1B88\u1B89\u1B8A\u1B8B\u1B8C\u1B8D\u1B8E\u1B8F\u1B90\u1B91\u1B92\u1B93\u1B94\u1B95\u1B96\u1B97\u1B98\u1B99\u1B9A\u1B9B\u1B9C\u1B9D\u1B9E\u1B9F\u1BA0\u1BA1\u1BA2\u1BA3\u1BA4\u1BA5\u1BA6\u1BA7\u1BA8\u1BA9\u1BAA\u1BAB\u1BAC\u1BAD\u1BAE\u1BAF\u1BB0\u1BB1\u1BB2\u1BB3\u1BB4\u1BB5\u1BB6\u1BB7\u1BB8\u1BB9\u1BBA\u1BBB\u1BBC\u1BBD\u1BBE\u1BBF\u1BC0\u1BC1\u1BC2\u1BC3\u1BC4\u1BC5\u1BC6\u1BC7\u1BC8\u1BC9\u1BCA\u1BCB\u1BCC\u1BCD\u1BCE\u1BCF\u1BD0\u1BD1\u1BD2\u1BD3\u1BD4\u1BD5\u1BD6\u1BD7\u1BD8\u1BD9\u1BDA\u1BDB\u1BDC\u1BDD\u1BDE\u1BDF\u1BE0\u1BE1\u1BE2\u1BE3\u1BE4\u1BE5\u1BE6\u1BE7\u1BE8\u1BE9\u1BEA\u1BEB\u1BEC\u1BED\u1BEE\u1BEF\u1BF0\u1BF1\u1BF2\u1BF3\u1BF4\u1BF5\u1BF6\u1BF7\u1BF8\u1BF9\u1BFA\u1BFB\u1BFC\u1BFD\u1BFE\u1BFF"; if (i6.replace(/\s+/g, "") !== o6) { $ERROR("#6: Error matching character class \s between character 1800 and 1bff"); } diff --git a/test/built-ins/RegExp/dotall/with-dotall-unicode.js b/test/built-ins/RegExp/dotall/with-dotall-unicode.js index 6625e2a577..6263ab56c9 100644 --- a/test/built-ins/RegExp/dotall/with-dotall-unicode.js +++ b/test/built-ins/RegExp/dotall/with-dotall-unicode.js @@ -12,7 +12,7 @@ info: | 3. Call CharacterSetMatcher(A, false) and return its Matcher result. esid: sec-atom -features: [regexp-dotall] +features: [regexp-dotall, u180e] ---*/ // The behavior is the same regardless of the m flag diff --git a/test/built-ins/RegExp/dotall/with-dotall.js b/test/built-ins/RegExp/dotall/with-dotall.js index aef495dea5..cff133a8ae 100644 --- a/test/built-ins/RegExp/dotall/with-dotall.js +++ b/test/built-ins/RegExp/dotall/with-dotall.js @@ -12,7 +12,7 @@ info: | 3. Call CharacterSetMatcher(A, false) and return its Matcher result. esid: sec-atom -features: [regexp-dotall] +features: [regexp-dotall, u180e] ---*/ // The behavior is the same regardless of the m flag diff --git a/test/built-ins/RegExp/dotall/without-dotall-unicode.js b/test/built-ins/RegExp/dotall/without-dotall-unicode.js index 8de7369af9..0e47cf9e9a 100644 --- a/test/built-ins/RegExp/dotall/without-dotall-unicode.js +++ b/test/built-ins/RegExp/dotall/without-dotall-unicode.js @@ -12,6 +12,7 @@ info: | 3. Call CharacterSetMatcher(A, false) and return its Matcher result. esid: sec-atom +features: [u180e] ---*/ // The behavior is the same regardless of the m flag diff --git a/test/built-ins/RegExp/dotall/without-dotall.js b/test/built-ins/RegExp/dotall/without-dotall.js index 1a52d51e44..e6c2792feb 100644 --- a/test/built-ins/RegExp/dotall/without-dotall.js +++ b/test/built-ins/RegExp/dotall/without-dotall.js @@ -12,6 +12,7 @@ info: | 3. Call CharacterSetMatcher(A, false) and return its Matcher result. esid: sec-atom +features: [u180e] ---*/ // The behavior is the same regardless of the m flag diff --git a/test/built-ins/RegExp/u180e.js b/test/built-ins/RegExp/u180e.js new file mode 100644 index 0000000000..693bc46bf9 --- /dev/null +++ b/test/built-ins/RegExp/u180e.js @@ -0,0 +1,26 @@ +// Copyright (C) 2017 Leonardo Balter. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: prod-CharacterClassEscape +description: > + U+180E is no longer a Unicode `Space_Separator` symbol as of Unicode v6.3.0. +info: > + 21.2.2.12 CharacterClassEscape + + ... + + The production CharacterClassEscape::s evaluates as follows: + + Return the set of characters containing the characters that are on the + right-hand side of the WhiteSpace or LineTerminator productions. + + The production CharacterClassEscape::S evaluates as follows: + + Return the set of all characters not included in the set returned by + CharacterClassEscape::s . +features: [u180e] +---*/ + +assert.sameValue("\u180E".replace(/\s+/g, "42"), "\u180E", "\\s should not match U+180E"); +assert.sameValue("\u180E".replace(/\S+/g, "42"), "42", "\\S matches U+180E"); diff --git a/test/built-ins/String/prototype/toLocaleLowerCase/Final_Sigma_U180E.js b/test/built-ins/String/prototype/toLocaleLowerCase/Final_Sigma_U180E.js index 0f0b820b3b..75481441b5 100644 --- a/test/built-ins/String/prototype/toLocaleLowerCase/Final_Sigma_U180E.js +++ b/test/built-ins/String/prototype/toLocaleLowerCase/Final_Sigma_U180E.js @@ -10,6 +10,7 @@ info: > The result must be derived according to the locale-insensitive case mappings in the Unicode Character Database (this explicitly includes not only the UnicodeData.txt file, but also all locale-insensitive mappings in the SpecialCasings.txt file that accompanies it). +features: [u180e] ---*/ // SpecialCasing.txt, conditional, language-insensitive mappings. diff --git a/test/built-ins/String/prototype/toLowerCase/Final_Sigma_U180E.js b/test/built-ins/String/prototype/toLowerCase/Final_Sigma_U180E.js index 8d50368228..64e03943c4 100644 --- a/test/built-ins/String/prototype/toLowerCase/Final_Sigma_U180E.js +++ b/test/built-ins/String/prototype/toLowerCase/Final_Sigma_U180E.js @@ -10,6 +10,7 @@ info: > The result must be derived according to the locale-insensitive case mappings in the Unicode Character Database (this explicitly includes not only the UnicodeData.txt file, but also all locale-insensitive mappings in the SpecialCasings.txt file that accompanies it). +features: [u180e] ---*/ // SpecialCasing.txt, conditional, language-insensitive mappings. diff --git a/test/built-ins/String/prototype/trim/u180e.js b/test/built-ins/String/prototype/trim/u180e.js index 4232999e35..5754a2551c 100644 --- a/test/built-ins/String/prototype/trim/u180e.js +++ b/test/built-ins/String/prototype/trim/u180e.js @@ -10,6 +10,7 @@ info: > 3. [...] The definition of white space is the union of |WhiteSpace| and |LineTerminator|. +features: [u180e] ---*/ assert.sameValue("_\u180E".trim(), "_\u180E"); diff --git a/test/built-ins/parseFloat/S15.1.2.3_A2_T10_U180E.js b/test/built-ins/parseFloat/S15.1.2.3_A2_T10_U180E.js index 2eee56639f..1d31a723f8 100644 --- a/test/built-ins/parseFloat/S15.1.2.3_A2_T10_U180E.js +++ b/test/built-ins/parseFloat/S15.1.2.3_A2_T10_U180E.js @@ -18,7 +18,7 @@ info: > 4. If neither trimmedString nor any prefix of trimmedString satisfies the syntax of a StrDecimalLiteral (see 7.1.3.1), return NaN. ... - +features: [u180e] ---*/ var mongolianVowelSeparator = "\u180E"; diff --git a/test/built-ins/parseInt/S15.1.2.2_A2_T10_U180E.js b/test/built-ins/parseInt/S15.1.2.2_A2_T10_U180E.js index e9d8b78fad..ec0b7d90ca 100644 --- a/test/built-ins/parseInt/S15.1.2.2_A2_T10_U180E.js +++ b/test/built-ins/parseInt/S15.1.2.2_A2_T10_U180E.js @@ -22,6 +22,7 @@ info: > such code unit; otherwise, let Z be S. 14. If Z is empty, return NaN. ... +features: [u180e] ---*/ var mongolianVowelSeparator = "\u180E"; diff --git a/test/language/comments/mongolian-vowel-separator-single-eval.js b/test/language/comments/mongolian-vowel-separator-single-eval.js index 9c0705ac06..2a68150053 100644 --- a/test/language/comments/mongolian-vowel-separator-single-eval.js +++ b/test/language/comments/mongolian-vowel-separator-single-eval.js @@ -16,6 +16,7 @@ info: > It is useful to allow format-control characters in source text to facilitate editing and display. All format control characters may be used within comments, and within string literals, template literals, and regular expression literals. +features: [u180e] ---*/ assert.sameValue(eval("0 //\u180E"), 0); diff --git a/test/language/expressions/template-literal/mongolian-vowel-separator-eval.js b/test/language/expressions/template-literal/mongolian-vowel-separator-eval.js index 74f73fcd4e..9a5a5e2a3c 100644 --- a/test/language/expressions/template-literal/mongolian-vowel-separator-eval.js +++ b/test/language/expressions/template-literal/mongolian-vowel-separator-eval.js @@ -16,6 +16,7 @@ info: > It is useful to allow format-control characters in source text to facilitate editing and display. All format control characters may be used within comments, and within string literals, template literals, and regular expression literals. +features: [u180e] ---*/ assert.sameValue(eval("`\u180E`"), "\u180E"); diff --git a/test/language/expressions/template-literal/mongolian-vowel-separator.js b/test/language/expressions/template-literal/mongolian-vowel-separator.js index 5e423434ba..545812cc11 100644 --- a/test/language/expressions/template-literal/mongolian-vowel-separator.js +++ b/test/language/expressions/template-literal/mongolian-vowel-separator.js @@ -16,6 +16,7 @@ info: > It is useful to allow format-control characters in source text to facilitate editing and display. All format control characters may be used within comments, and within string literals, template literals, and regular expression literals. +features: [u180e] ---*/ // U+180E in template literals; UTF8(0x180E) = 0xE1 0xA0 0x8E diff --git a/test/language/literals/regexp/mongolian-vowel-separator-eval.js b/test/language/literals/regexp/mongolian-vowel-separator-eval.js index 119336373f..728646ee7e 100644 --- a/test/language/literals/regexp/mongolian-vowel-separator-eval.js +++ b/test/language/literals/regexp/mongolian-vowel-separator-eval.js @@ -16,6 +16,7 @@ info: > It is useful to allow format-control characters in source text to facilitate editing and display. All format control characters may be used within comments, and within string literals, template literals, and regular expression literals. +features: [u180e] ---*/ assert.sameValue(eval("/\u180E/").source, "\u180E"); diff --git a/test/language/literals/regexp/mongolian-vowel-separator.js b/test/language/literals/regexp/mongolian-vowel-separator.js index d7871f8ffe..6361518ba4 100644 --- a/test/language/literals/regexp/mongolian-vowel-separator.js +++ b/test/language/literals/regexp/mongolian-vowel-separator.js @@ -16,6 +16,7 @@ info: > It is useful to allow format-control characters in source text to facilitate editing and display. All format control characters may be used within comments, and within string literals, template literals, and regular expression literals. +features: [u180e] ---*/ // U+180E in regular expressions; UTF8(0x180E) = 0xE1 0xA0 0x8E diff --git a/test/language/literals/string/mongolian-vowel-separator-eval.js b/test/language/literals/string/mongolian-vowel-separator-eval.js index e776bb24ad..1ce7283bef 100644 --- a/test/language/literals/string/mongolian-vowel-separator-eval.js +++ b/test/language/literals/string/mongolian-vowel-separator-eval.js @@ -16,6 +16,7 @@ info: > It is useful to allow format-control characters in source text to facilitate editing and display. All format control characters may be used within comments, and within string literals, template literals, and regular expression literals. +features: [u180e] ---*/ assert.sameValue(eval("'\u180E'"), "\u180E"); diff --git a/test/language/literals/string/mongolian-vowel-separator.js b/test/language/literals/string/mongolian-vowel-separator.js index d00de839a9..077f240b6a 100644 --- a/test/language/literals/string/mongolian-vowel-separator.js +++ b/test/language/literals/string/mongolian-vowel-separator.js @@ -16,6 +16,7 @@ info: > It is useful to allow format-control characters in source text to facilitate editing and display. All format control characters may be used within comments, and within string literals, template literals, and regular expression literals. +features: [u180e] ---*/ // U+180E in strings; UTF8(0x180E) = 0xE1 0xA0 0x8E diff --git a/test/language/white-space/mongolian-vowel-separator-eval.js b/test/language/white-space/mongolian-vowel-separator-eval.js index 4fc23d7c83..7ea7751daf 100644 --- a/test/language/white-space/mongolian-vowel-separator-eval.js +++ b/test/language/white-space/mongolian-vowel-separator-eval.js @@ -20,6 +20,7 @@ info: > Other category “Zs” code points General Category of U+180E is “Cf” (Format). +features: [u180e] ---*/ // U+180E between "var" and "foo".