Browse Source

mark some testcases as 'known bugs' as they won't be fixed in the near future

pull/1/head
Sami Vaarala 11 years ago
parent
commit
3f5d551ada
  1. 6
      ecmascript-testcases/test-builtin-json-enc-proplist-dups.js
  2. 6
      ecmascript-testcases/test-dev-bug-invalid-oct-as-dec.js
  3. 6
      ecmascript-testcases/test-regexp-empty-quantified.js
  4. 13
      ecmascript-testcases/test-regexp-invalid-charclass.js
  5. 6
      ecmascript-testcases/test-regexp-nonstandard-patternchar.js

6
ecmascript-testcases/test-builtin-json-enc-proplist-dups.js

@ -1,3 +1,9 @@
/*---
{
"knownbug": true
}
---*/
/*===
{"bar":2,"foo":1,"baz":4,"quux":3}
{"bar":2,"1":5,"foo":1}

6
ecmascript-testcases/test-dev-bug-invalid-oct-as-dec.js

@ -1,3 +1,9 @@
/*---
{
"knownbug": true
}
---*/
/*===
63
78

6
ecmascript-testcases/test-regexp-empty-quantified.js

@ -16,6 +16,12 @@
*
*/
/*---
{
"knownbug": true
}
---*/
var t;
/*===

13
ecmascript-testcases/test-regexp-invalid-charclass.js

@ -2,14 +2,20 @@
* Some invalid character class cases.
*/
/*---
{
"knownbug": true
}
---*/
/*===
SyntaxError
===*/
/* should cause a SyntaxError, see E5 Section 15.10.2.15 ??? */
/* Should cause a SyntaxError, see E5 Section 15.10.2.15. */
try {
/* '\d' contains [0-9], while 'z' is a single character.
*.CharacterRange() (E5 Section 15.10.2.15) should reject
* CharacterRange() (E5 Section 15.10.2.15) should reject
* this with SyntaxError because both endpoints must be
* single characters.
*/
@ -28,11 +34,10 @@ try {
SyntaxError
===*/
/* should cause a SyntaxError, see E5 Section 15.10.2.15 */
/* Should cause a SyntaxError, see E5 Section 15.10.2.15. */
try {
eval('t = /[z-x]/;');
} catch(e) {
print(e.name);
}

6
ecmascript-testcases/test-regexp-nonstandard-patternchar.js

@ -5,6 +5,12 @@
* PatternCharacters.
*/
/*---
{
"knownbug": true
}
---*/
/* FIXME: this now tests V8/Rhino behavior, is this desired? */
/*===

Loading…
Cancel
Save