mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
S7.8.5_A3.1_T7 through S7.8.5_A3.1_T9 were invalid as written. The only way to specify unicode flags
to literal regexp patterns is through eval and similar mechanisms (e.g., Function constructor). Fixed. All but two of the remaining disabled tests in excludelist.xml were disabled because the tests polluted the global JS environment, not because the tests themselves were invalid. This is no longer an issue as of the latest test262 harness (actually it wasn't an issue about a year ago either). Re-enabled.
This commit is contained in:
parent
b9160ef102
commit
4d241e4bec
test
website/json
@ -1,36 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<excludeList>
|
||||
<test id="S15.3.4.1_A1_T2">problem, bad test should be rewritten</test>
|
||||
<test id="S15.3.4.1_A1_T2">problem, bad test should be rewritten</test>
|
||||
<test id="S15.4.4.10_A4_T1">problem, bad test should be rewritten</test>
|
||||
<test id="S15.4.4.11_A6_T2">problem, bad test should be rewritten</test>
|
||||
<test id="S15.4.4.12_A4_T1">problem, bad test should be rewritten</test>
|
||||
<test id="S15.4.4.12_A4_T2">problem, bad test should be rewritten</test>
|
||||
<test id="S15.4.4.12_A4_T3">problem, bad test should be rewritten</test>
|
||||
<test id="S15.4.4.13_A4_T1">problem, bad test should be rewritten</test>
|
||||
<test id="S15.4.4.13_A4_T2">problem, bad test should be rewritten</test>
|
||||
<test id="S15.4.4.2_A3_T1">problem, bad test should be rewritten</test>
|
||||
<test id="S15.4.4.3_A3_T1">problem, bad test should be rewritten</test>
|
||||
<test id="S15.4.4.4_A3_T1">problem, bad test should be rewritten</test>
|
||||
<test id="S15.4.4.5_A5_T1">problem, bad test should be rewritten</test>
|
||||
<test id="S15.4.4.6_A4_T1">problem, bad test should be rewritten</test>
|
||||
<test id="S15.4.4.6_A4_T2">problem, bad test should be rewritten</test>
|
||||
<test id="S15.4.4.8_A4_T1">problem, bad test should be rewritten</test>
|
||||
<test id="S15.4.4.8_A4_T2">problem, bad test should be rewritten</test>
|
||||
<test id="S15.4.4.9_A4_T1">problem, bad test should be rewritten</test>
|
||||
<test id="S15.4.4.9_A4_T2">problem, bad test should be rewritten</test>
|
||||
<test id="S15.4.5.1_A1.2_T2">problem, bad test should be rewritten</test>
|
||||
<test id="S15.4.5.1_A1.2_T3">problem, bad test should be rewritten</test>
|
||||
<test id="S15.4.4.7_A5_T1">problem, bad test should be rewritten</test>
|
||||
<test id="S15.2.4_A1_T2">problem, bad test should be rewritten</test>
|
||||
|
||||
<test id="S15.5.4.8_A1_T1">problem, bad var syntax. revised</test>
|
||||
|
||||
<test id="S7.8.5_A3.1_T7">problem, syntax validation needs to use eval. revised</test>
|
||||
<test id="S7.8.5_A3.1_T8">problem, syntax validation needs to use eval. revised</test>
|
||||
<test id="S7.8.5_A3.1_T9">problem, syntax validation needs to use eval. revised</test>
|
||||
|
||||
<excludeList>
|
||||
<test id="S15.3_A3_T1">Uses this.</test>
|
||||
<test id="S15.3_A3_T3">Uses this.</test>
|
||||
|
||||
</excludeList>
|
||||
</excludeList>
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
@ -9,7 +9,8 @@
|
||||
*/
|
||||
|
||||
//CHECK#1
|
||||
var regexp = /(?:)/\u0067;
|
||||
var regexp;
|
||||
eval("regexp = /(?:)/\u0067");
|
||||
if (regexp.global !== true) {
|
||||
$ERROR('#1: var regexp = /(?:)/\\u0067; regexp.global === true. Actual: ' + (regexp.global));
|
||||
}
|
||||
|
@ -9,7 +9,8 @@
|
||||
*/
|
||||
|
||||
//CHECK#1
|
||||
var regexp = /(?:)/\u0069;
|
||||
var regexp;
|
||||
eval("regexp = /(?:)/\u0069");
|
||||
if (regexp.ignoreCase !== true) {
|
||||
$ERROR('#1: var regexp = /(?:)/\\u0069; regexp.ignoreCase === true. Actual: ' + (regexp.ignoreCase));
|
||||
}
|
||||
|
@ -9,7 +9,8 @@
|
||||
*/
|
||||
|
||||
//CHECK#1
|
||||
var regexp = /(?:)/\u006D;
|
||||
var regexp;
|
||||
eval("regexp = /(?:)/\u006D");
|
||||
if (regexp.multiline !== true) {
|
||||
$ERROR('#1: var regexp = /(?:)/\\u006D; regexp.multiline === true. Actual: ' + (regexp.multiline));
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
{"date":"2012-01-16","numTests":11154,"testSuite":["json/ch07.json","json/ch08.json","json/ch09.json","json/ch10.json","json/ch11.json","json/ch12.json","json/ch13.json","json/ch14.json","json/ch15.json"],"version":"ES5.1"}
|
||||
{"date":"2012-01-16","numTests":11179,"testSuite":["json/ch07.json","json/ch08.json","json/ch09.json","json/ch10.json","json/ch11.json","json/ch12.json","json/ch13.json","json/ch14.json","json/ch15.json"],"version":"ES5.1"}
|
Loading…
x
Reference in New Issue
Block a user