mirror of https://github.com/tc39/test262.git
https://bugs.ecmascript.org/show_bug.cgi?id=266 and https://bugs.ecmascript.org/show_bug.cgi?id=270 resolved.
This commit is contained in:
parent
c984466e4f
commit
e45ca2e0f3
|
@ -36,10 +36,10 @@ function testcase() {
|
||||||
|
|
||||||
var hasProperty = newArr.hasOwnProperty("0");
|
var hasProperty = newArr.hasOwnProperty("0");
|
||||||
|
|
||||||
var instanceOfVerify = typeof newArr[0]==="number";
|
var instanceOfVerify = typeof newArr[0]==="object";
|
||||||
|
|
||||||
var verifyValue = false;
|
var verifyValue = false;
|
||||||
verifyValue = newArr[0] === 101;
|
verifyValue = newArr[0] == 101;
|
||||||
|
|
||||||
var verifyEnumerable = false;
|
var verifyEnumerable = false;
|
||||||
for (var p in newArr) {
|
for (var p in newArr) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/**
|
/**
|
||||||
* EscapeSequence :: HexEscapeSequence :: x HexDigit HexDigit
|
* EscapeSequence :: HexEscapeSequence :: x HexDigit HexDigit
|
||||||
*
|
*
|
||||||
* @path ch07/7.8/7.8.4/S7.8.4_A6.1_T4.js
|
* @path bestPractice/Sbp_7.8.4_A6.1_T4.js
|
||||||
* @description HexEscapeSequence :: x0G is incorrect
|
* @description HexEscapeSequence :: x0G is incorrect
|
||||||
* @negative
|
* @negative
|
||||||
*/
|
*/
|
|
@ -4,7 +4,7 @@
|
||||||
/**
|
/**
|
||||||
* HexEscapeSequence :: x HexDigit is incorrect
|
* HexEscapeSequence :: x HexDigit is incorrect
|
||||||
*
|
*
|
||||||
* @path ch07/7.8/7.8.4/S7.8.4_A6.2_T1.js
|
* @path bestPractice/Sbp_7.8.4_A6.2_T1.js
|
||||||
* @description HexDigit :: 1
|
* @description HexDigit :: 1
|
||||||
* @negative
|
* @negative
|
||||||
*/
|
*/
|
|
@ -4,7 +4,7 @@
|
||||||
/**
|
/**
|
||||||
* HexEscapeSequence :: x HexDigit is incorrect
|
* HexEscapeSequence :: x HexDigit is incorrect
|
||||||
*
|
*
|
||||||
* @path ch07/7.8/7.8.4/S7.8.4_A6.2_T2.js
|
* @path bestPractice/Sbp_7.8.4_A6.2_T2.js
|
||||||
* @description HexDigit :: A
|
* @description HexDigit :: A
|
||||||
* @negative
|
* @negative
|
||||||
*/
|
*/
|
|
@ -36,10 +36,10 @@ function testcase() {
|
||||||
|
|
||||||
var hasProperty = newArr.hasOwnProperty("0");
|
var hasProperty = newArr.hasOwnProperty("0");
|
||||||
|
|
||||||
var instanceOfVerify = typeof newArr[0]==="number";
|
var instanceOfVerify = typeof newArr[0]==="object";
|
||||||
|
|
||||||
var verifyValue = false;
|
var verifyValue = false;
|
||||||
verifyValue = newArr[0] === 101;
|
verifyValue = newArr[0] == 101;
|
||||||
|
|
||||||
var verifyEnumerable = false;
|
var verifyEnumerable = false;
|
||||||
for (var p in newArr) {
|
for (var p in newArr) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
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-02-27","numTests":11566,"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-02-27","numTests":11563,"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"}
|
|
@ -1 +1 @@
|
||||||
{"date":"2012-02-27","numTests":17,"testSuite":["json/bestPractice.json"],"version":"ES5.1"}
|
{"date":"2012-02-27","numTests":20,"testSuite":["json/bestPractice.json"],"version":"ES5.1"}
|
|
@ -1 +1 @@
|
||||||
{"date":"2012-02-27","numTests":718,"testSuite":["json/ch07.json"],"version":"ES5.1"}
|
{"date":"2012-02-27","numTests":715,"testSuite":["json/ch07.json"],"version":"ES5.1"}
|
Loading…
Reference in New Issue