From e691523b51d718e04ff9f87e73ebd75dae501c52 Mon Sep 17 00:00:00 2001 From: Mark Miller <erights@gmail.com> Date: Sun, 25 Sep 2011 10:43:20 -0700 Subject: [PATCH] Fixing https://bugs.ecmascript.org/show_bug.cgi?id=59 --- test/config/excludelist.xml | 13 ------------- .../7.8.4_String_Literals/S7.8.4_A4.3_T1.js | 4 +++- .../7.8.4_String_Literals/S7.8.4_A4.3_T2.js | 4 +++- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/test/config/excludelist.xml b/test/config/excludelist.xml index 0dabee53f5..24b2299f45 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 7005b74ad4..da70851e32 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 e05d30179e..93405fa0d4 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" -- GitLab