summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Miller <erights@gmail.com>2011-09-25 10:43:20 -0700
committerMark Miller <erights@gmail.com>2011-09-25 10:43:20 -0700
commitea01e1b964d68f9869e678c8bfb3bb8589cc5bb5 (patch)
treef929968ff90681de5e69e274f5fd90e1c7391111
parente5fbfd0267d3ae4d163392c20004b470f8d6a9ee (diff)
downloadtest262-ea01e1b964d68f9869e678c8bfb3bb8589cc5bb5.tar.gz
Fixing https://bugs.ecmascript.org/show_bug.cgi?id=59
-rw-r--r--test/config/excludelist.xml13
-rw-r--r--test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.js4
-rw-r--r--test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.js4
3 files changed, 6 insertions, 15 deletions
diff --git a/test/config/excludelist.xml b/test/config/excludelist.xml
index 0dabee53f..24b2299f4 100644
--- a/test/config/excludelist.xml
+++ b/test/config/excludelist.xml
@@ -1,14 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<excludeList>
- <!-- There might also be a SputnikConverter harness issue here now as the converter
- hasn't been made aware of strict mode yet -->
- <test id="S7.5.3_A1.18">problem, test needs 'var' prior to interface in strict mode</test>
- <test id="S7.5.3_A1.21">problem, test needs 'var' prior to package in strict mode</test>
- <test id="S7.5.3_A1.22">problem, test needs 'var' prior to private in strict mode</test>
- <test id="S7.5.3_A1.23">problem, test needs 'var' prior to protected in strict mode</test>
- <test id="S7.5.3_A1.24">problem, test needs 'var' prior to public in strict mode</test>
- <test id="S7.5.3_A1.26">problem, test needs 'var' prior to static in strict mode</test>
-
<test id="15.4.4.20-3-14"><!-- reason for the exclusion--></test>
<test id="15.4.4.20-3-28"><!-- reason for the exclusion--></test>
<test id="15.4.4.20-3-29"><!-- reason for the exclusion--></test>
@@ -145,10 +136,6 @@
<test id="S7.8.4_A4.3_T5">https://bugs.ecmascript.org/show_bug.cgi?id=127</test>
<test id="S7.8.4_A4.3_T6">https://bugs.ecmascript.org/show_bug.cgi?id=127</test>
- <!--Google to make these Strict Mode test changes-->
- <test id="S7.8.4_A4.3_T1">https://bugs.ecmascript.org/show_bug.cgi?id=59</test>
- <test id="S7.8.4_A4.3_T2">https://bugs.ecmascript.org/show_bug.cgi?id=59</test>
-
<test id="S15.10.2.12_A1_T1">https://bugs.ecmascript.org/show_bug.cgi?id=60</test>
<test id="S15.10.2.12_A2_T1">https://bugs.ecmascript.org/show_bug.cgi?id=60</test>
diff --git a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.js b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.js
index 7005b74ad..da70851e3 100644
--- a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.js
+++ b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.js
@@ -6,8 +6,10 @@
* @section: 7.8.4;
* @assertion: NonEscapeSequence is not EscapeCharacter;
* @description: EscapeCharacter :: DecimalDigits :: 1;
+ * @onlyStrict
* @negative
-*/
+ */
+"use strict";
//CHECK#1
"\1"
diff --git a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.js b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.js
index e05d30179..93405fa0d 100644
--- a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.js
+++ b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.js
@@ -6,8 +6,10 @@
* @section: 7.8.4;
* @assertion: NonEscapeSequence is not EscapeCharacter;
* @description: EscapeCharacter :: DecimalDigits :: 7;
+ * @onlyStrict
* @negative
-*/
+ */
+"use strict";
//CHECK#1
"\7"